File indexing completed on 2025-12-16 09:58:35
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018 #ifndef BOOST_NUMERIC_ODEINT_EXTERNAL_EIGEN_EIGEN_ALGEBRA_DISPATCHER_HPP_INCLUDED
0019 #define BOOST_NUMERIC_ODEINT_EXTERNAL_EIGEN_EIGEN_ALGEBRA_DISPATCHER_HPP_INCLUDED
0020
0021
0022 namespace boost {
0023 namespace numeric {
0024 namespace odeint {
0025
0026
0027 template< class Derived >
0028 struct algebra_dispatcher_sfinae< Derived ,
0029 typename boost::enable_if< typename boost::is_base_of< Eigen::MatrixBase< Derived > , Derived >::type >::type >
0030 {
0031 typedef vector_space_algebra algebra_type;
0032 };
0033
0034
0035 template < class Derived >
0036 struct algebra_dispatcher_sfinae< Derived ,
0037 typename boost::enable_if< typename boost::is_base_of< Eigen::ArrayBase< Derived > , Derived >::type >::type >
0038 {
0039 typedef vector_space_algebra algebra_type;
0040 };
0041
0042
0043
0044 }
0045 }
0046 }
0047
0048
0049 #endif