Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-12-16 09:58:35

0001 /*
0002   [auto_generated]
0003   boost/numeric/odeint/external/eigen/eigen_algebra_dispatcher.hpp
0004 
0005   [begin_description]
0006   tba.
0007   [end_description]
0008 
0009   Copyright 2009-2012 Karsten Ahnert
0010   Copyright 2009-2012 Mario Mulansky
0011 
0012   Distributed under the Boost Software License, Version 1.0.
0013   (See accompanying file LICENSE_1_0.txt or
0014   copy at http://www.boost.org/LICENSE_1_0.txt)
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 } // namespace odeint
0045 } // namespace numeric
0046 } // namespace boost
0047 
0048 
0049 #endif // BOOST_NUMERIC_ODEINT_EXTERNAL_EIGEN_EIGEN_ALGEBRA_DISPATCHER_HPP_INCLUDED