Template Struct CodeGenDDifference

Inheritance Relationships

Base Type

Struct Documentation

template<typename _Scalar>
struct CodeGenDDifference : public pinocchio::CodeGenBase<_Scalar>

Public Types

typedef CodeGenBase<_Scalar> Base
typedef Base::Scalar Scalar
typedef Base::Model Model
typedef Base::ADConfigVectorType ADConfigVectorType
typedef Base::ADTangentVectorType ADTangentVectorType
typedef Base::ADVectorXs ADVectorXs
typedef Base::ADMatrixXs ADMatrixXs
typedef Base::MatrixXs MatrixXs
typedef Base::VectorXs VectorXs

Public Functions

inline CodeGenDDifference(const Model &model, const std::string &function_name = "dDifference", const std::string &library_name = "cg_dDifference_eval")
inline virtual void buildMap()

build the mapping Y = f(X)

template<typename ConfigVectorType1, typename ConfigVectorType2, typename JacobianMatrix>
inline void evalFunction(const Eigen::MatrixBase<ConfigVectorType1> &q0, const Eigen::MatrixBase<ConfigVectorType2> &q1, const Eigen::MatrixBase<JacobianMatrix> &J, const ArgumentPosition arg)
template<typename Vector>
inline void evalFunction(const Eigen::MatrixBase<Vector> &x)

Protected Attributes

VectorXs x
ADConfigVectorType ad_q0
ADConfigVectorType ad_q1
ADMatrixXs ad_J0
ADMatrixXs ad_J1
ADModel ad_model
ADFun ad_fun
ADVectorXs ad_X
ADVectorXs ad_Y
VectorXs y