fwd.hpp
Go to the documentation of this file.
1 /*
2  * Copyright 2014-2020 CNRS INRIA
3  */
4 
5 #ifndef __eigenpy_fwd_hpp__
6 #define __eigenpy_fwd_hpp__
7 
8 #include "eigenpy/config.hpp"
9 
10 // Silence a warning about a deprecated use of boost bind by boost python
11 // at least fo boost 1.73 to 1.75
12 // ref. https://github.com/stack-of-tasks/tsid/issues/128
13 #define BOOST_BIND_GLOBAL_PLACEHOLDERS
14 #include <boost/python.hpp>
15 #include <boost/python/scope.hpp>
16 
17 #define NO_IMPORT_ARRAY
18  #include "eigenpy/numpy.hpp"
19 #undef NO_IMPORT_ARRAY
20 
21 #undef BOOST_BIND_GLOBAL_PLACEHOLDERS
22 
23 #include <Eigen/Core>
24 
25 #if EIGEN_VERSION_AT_LEAST(3,2,90)
26  #define EIGENPY_DEFAULT_ALIGNMENT_VALUE Eigen::Aligned16
27 #else
28  #define EIGENPY_DEFAULT_ALIGNMENT_VALUE Eigen::Aligned
29 #endif
30 
31 #define EIGENPY_NO_ALIGNMENT_VALUE Eigen::Unaligned
32 
33 #define EIGENPY_UNUSED_VARIABLE(var) (void)(var)
34 
35 #include "eigenpy/expose.hpp"
36 
37 namespace eigenpy
38 {
39  template<typename MatType, typename Scalar = typename boost::remove_reference<MatType>::type::Scalar> struct EigenToPy;
40  template<typename MatType, typename Scalar = typename boost::remove_reference<MatType>::type::Scalar> struct EigenFromPy;
41 }
42 
43 #endif // ifndef __eigenpy_fwd_hpp__


eigenpy
Author(s): Justin Carpentier, Nicolas Mansard
autogenerated on Sat Apr 17 2021 02:37:59