Macros
eigen-macros.hpp File Reference
#include "pinocchio/utils/eigen-fix.hpp"
Include dependency graph for eigen-macros.hpp:

Go to the source code of this file.

Macros

#define PINOCCHIO_EIGEN_CONST_CAST(TYPE, OBJ)   const_cast<TYPE &>(OBJ.derived())
 Macro for an automatic const_cast. More...
 
#define PINOCCHIO_EIGEN_DOT_PRODUCT_RETURN_TYPE(D1, D2)   Eigen::internal::scalar_product_traits<typename Eigen::internal::traits< D1 >::Scalar,typename Eigen::internal::traits< D2 >::Scalar>::ReturnType
 Macro giving access to the return type of the dot product operation. More...
 
#define PINOCCHIO_EIGEN_PLAIN_COLUMN_MAJOR_TYPE(D)   pinocchio::helper::handle_return_type_without_typename<D,Eigen::internal::plain_matrix_type_column_major>::type
 Similar to macro PINOCCHIO_EIGEN_PLAIN_TYPE but with guaranty to provite a column major type. More...
 
#define PINOCCHIO_EIGEN_PLAIN_ROW_MAJOR_TYPE(D)   pinocchio::helper::handle_return_type_without_typename<D,::pinocchio::fix::Eigen::internal::plain_matrix_type_row_major>::type
 Similar to macro PINOCCHIO_EIGEN_PLAIN_TYPE but with guaranty to provite a row major type. More...
 
#define PINOCCHIO_EIGEN_PLAIN_TYPE(D)   Eigen::internal::plain_matrix_type< typename pinocchio::helper::argument_type<void(D)>::type >::type
 Macro giving access to the equivalent plain type of D. More...
 
#define PINOCCHIO_EIGEN_PLAIN_TYPE_NO_PARENS(D)   Eigen::internal::plain_matrix_type< typename pinocchio::helper::argument_type<void D>::type >::type
 
#define PINOCCHIO_EIGEN_REF_CONST_TYPE(D)   Eigen::internal::ref_selector<D>::type
 Macro giving access to the reference type of D. More...
 
#define PINOCCHIO_EIGEN_REF_TYPE(D)
 

Macro Definition Documentation

◆ PINOCCHIO_EIGEN_CONST_CAST

#define PINOCCHIO_EIGEN_CONST_CAST (   TYPE,
  OBJ 
)    const_cast<TYPE &>(OBJ.derived())

Macro for an automatic const_cast.

Definition at line 43 of file eigen-macros.hpp.

◆ PINOCCHIO_EIGEN_DOT_PRODUCT_RETURN_TYPE

#define PINOCCHIO_EIGEN_DOT_PRODUCT_RETURN_TYPE (   D1,
  D2 
)    Eigen::internal::scalar_product_traits<typename Eigen::internal::traits< D1 >::Scalar,typename Eigen::internal::traits< D2 >::Scalar>::ReturnType

Macro giving access to the return type of the dot product operation.

Definition at line 38 of file eigen-macros.hpp.

◆ PINOCCHIO_EIGEN_PLAIN_COLUMN_MAJOR_TYPE

#define PINOCCHIO_EIGEN_PLAIN_COLUMN_MAJOR_TYPE (   D)    pinocchio::helper::handle_return_type_without_typename<D,Eigen::internal::plain_matrix_type_column_major>::type

Similar to macro PINOCCHIO_EIGEN_PLAIN_TYPE but with guaranty to provite a column major type.

Definition at line 15 of file eigen-macros.hpp.

◆ PINOCCHIO_EIGEN_PLAIN_ROW_MAJOR_TYPE

Similar to macro PINOCCHIO_EIGEN_PLAIN_TYPE but with guaranty to provite a row major type.

Definition at line 18 of file eigen-macros.hpp.

◆ PINOCCHIO_EIGEN_PLAIN_TYPE

#define PINOCCHIO_EIGEN_PLAIN_TYPE (   D)    Eigen::internal::plain_matrix_type< typename pinocchio::helper::argument_type<void(D)>::type >::type

Macro giving access to the equivalent plain type of D.

Definition at line 11 of file eigen-macros.hpp.

◆ PINOCCHIO_EIGEN_PLAIN_TYPE_NO_PARENS

#define PINOCCHIO_EIGEN_PLAIN_TYPE_NO_PARENS (   D)    Eigen::internal::plain_matrix_type< typename pinocchio::helper::argument_type<void D>::type >::type

Definition at line 12 of file eigen-macros.hpp.

◆ PINOCCHIO_EIGEN_REF_CONST_TYPE

#define PINOCCHIO_EIGEN_REF_CONST_TYPE (   D)    Eigen::internal::ref_selector<D>::type

Macro giving access to the reference type of D.

Definition at line 21 of file eigen-macros.hpp.

◆ PINOCCHIO_EIGEN_REF_TYPE

#define PINOCCHIO_EIGEN_REF_TYPE (   D)
Value:
Eigen::internal::conditional< \
bool(Eigen::internal::traits<D>::Flags & Eigen::NestByRefBit), \
D &, \
D \

Definition at line 25 of file eigen-macros.hpp.



pinocchio
Author(s):
autogenerated on Fri Jun 23 2023 02:38:33