12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- #ifndef BOOST_NUMERIC_ODEINT_EXTERNAL_EIGEN_EIGEN_ALGEBRA_DISPATCHER_HPP_INCLUDED
- #define BOOST_NUMERIC_ODEINT_EXTERNAL_EIGEN_EIGEN_ALGEBRA_DISPATCHER_HPP_INCLUDED
- namespace boost {
- namespace numeric {
- namespace odeint {
- template< class Derived >
- struct algebra_dispatcher_sfinae< Derived ,
- typename boost::enable_if< typename boost::is_base_of< Eigen::MatrixBase< Derived > , Derived >::type >::type >
- {
- typedef vector_space_algebra algebra_type;
- };
- template < class Derived >
- struct algebra_dispatcher_sfinae< Derived ,
- typename boost::enable_if< typename boost::is_base_of< Eigen::ArrayBase< Derived > , Derived >::type >::type >
- {
- typedef vector_space_algebra algebra_type;
- };
- }
- }
- }
- #endif
|