5 #ifndef __pinocchio_codegen_ccpadcg_hpp__ 6 #define __pinocchio_codegen_ccpadcg_hpp__ 8 #include "pinocchio/math/fwd.hpp" 11 #include <cppad/cg/support/cppadcg_eigen.hpp> 13 #include "pinocchio/autodiff/cppad.hpp" 15 #ifndef PINOCCHIO_WITH_CXX11_SUPPORT 16 #error CppADCodeGen requires C++11 or more 27 template<
typename Scalar>
28 struct constant_pi<
CppAD::cg::CG<Scalar> > : constant_pi<Scalar> {};
39 template<
typename Scalar>
40 struct cast_impl<CppAD::cg::CG<Scalar>,Scalar>
42 #if EIGEN_VERSION_AT_LEAST(3,2,90) 45 static inline Scalar run(
const CppAD::cg::CG<Scalar> & x)
55 template<
typename Scalar>
59 using Base::precision;
63 #endif // #ifndef __pinocchio_codegen_ccpadcg_hpp__
Source from #include <cppad/example/cppad_eigen.hpp>
Source from #include <cppad/example/cppad_eigen.hpp>
Main pinocchio namespace.