Public Types | Public Member Functions | Protected Attributes | List of all members
pinocchio.casadi::AutoDiffAlgoBase< _Scalar > Struct Template Referenceabstract

#include <casadi-algo.hpp>

Inheritance diagram for pinocchio.casadi::AutoDiffAlgoBase< _Scalar >:
Inheritance graph
[legend]

Public Types

enum  { Options = 0 }
 
typedef ADModel::ConfigVectorType ADConfigVectorType
 
typedef pinocchio::DataTpl< ADScalar, OptionsADData
 
typedef ::casadi::Function ADFun
 
typedef pinocchio::ModelTpl< ADScalar, OptionsADModel
 
typedef ::casadi::SX ADScalar
 
typedef ::casadi::SXVector ADSVector
 
typedef ADModel::TangentVectorType ADTangentVectorType
 
typedef Model::ConfigVectorType ConfigVectorType
 
typedef pinocchio::DataTpl< Scalar, OptionsData
 
typedef ::casadi::DM DMMatrix
 
typedef ::casadi::DMVector DMVector
 
typedef Data::MatrixXs MatrixXs
 
typedef pinocchio::ModelTpl< Scalar, OptionsModel
 
typedef Data::RowMatrixXs RowMatrixXs
 
typedef _Scalar Scalar
 
typedef Model::TangentVectorType TangentVectorType
 
typedef Data::VectorXs VectorXs
 

Public Member Functions

 AutoDiffAlgoBase (const Model &model, const std::string &filename, const std::string &libname, const std::string &fun_name)
 
virtual void buildMap ()=0
 build the mapping Y = f(X) More...
 
void compileLib ()
 
bool existLib () const
 
casadi_int getFunDerivsOperationCount () const
 
casadi_int getFunOperationCount () const
 
void initLib ()
 
void loadLib (const bool generate_if_not_exist=true)
 
virtual ~AutoDiffAlgoBase ()
 

Protected Attributes

ADData ad_data
 
ADFun ad_fun
 
ADFun ad_fun_derivs
 
ADModel ad_model
 
bool build_forward
 Options to generate or not the source code for the evaluation function. More...
 
bool build_jacobian
 Options to build or not the Jacobian of he function. More...
 
::casadi::CodeGenerator cg_generated
 
std::string filename
 
ADFun fun
 
ADFun fun_derivs
 
casadi_int fun_derivs_operation_count
 
std::string fun_name
 
casadi_int fun_operation_count
 
std::vector< DMMatrixfun_output
 
std::vector< DMMatrixfun_output_derivs
 
std::string libname
 

Detailed Description

template<typename _Scalar>
struct pinocchio.casadi::AutoDiffAlgoBase< _Scalar >

Definition at line 24 of file casadi-algo.hpp.

Member Typedef Documentation

◆ ADConfigVectorType

template<typename _Scalar >
typedef ADModel::ConfigVectorType pinocchio.casadi::AutoDiffAlgoBase< _Scalar >::ADConfigVectorType

Definition at line 43 of file casadi-algo.hpp.

◆ ADData

template<typename _Scalar >
typedef pinocchio::DataTpl<ADScalar, Options> pinocchio.casadi::AutoDiffAlgoBase< _Scalar >::ADData

Definition at line 39 of file casadi-algo.hpp.

◆ ADFun

template<typename _Scalar >
typedef ::casadi::Function pinocchio.casadi::AutoDiffAlgoBase< _Scalar >::ADFun

Definition at line 50 of file casadi-algo.hpp.

◆ ADModel

template<typename _Scalar >
typedef pinocchio::ModelTpl<ADScalar, Options> pinocchio.casadi::AutoDiffAlgoBase< _Scalar >::ADModel

Definition at line 38 of file casadi-algo.hpp.

◆ ADScalar

template<typename _Scalar >
typedef ::casadi::SX pinocchio.casadi::AutoDiffAlgoBase< _Scalar >::ADScalar

Definition at line 27 of file casadi-algo.hpp.

◆ ADSVector

template<typename _Scalar >
typedef ::casadi::SXVector pinocchio.casadi::AutoDiffAlgoBase< _Scalar >::ADSVector

Definition at line 28 of file casadi-algo.hpp.

◆ ADTangentVectorType

Definition at line 44 of file casadi-algo.hpp.

◆ ConfigVectorType

template<typename _Scalar >
typedef Model::ConfigVectorType pinocchio.casadi::AutoDiffAlgoBase< _Scalar >::ConfigVectorType

Definition at line 41 of file casadi-algo.hpp.

◆ Data

template<typename _Scalar >
typedef pinocchio::DataTpl<Scalar, Options> pinocchio.casadi::AutoDiffAlgoBase< _Scalar >::Data

Definition at line 37 of file casadi-algo.hpp.

◆ DMMatrix

template<typename _Scalar >
typedef ::casadi::DM pinocchio.casadi::AutoDiffAlgoBase< _Scalar >::DMMatrix

Definition at line 29 of file casadi-algo.hpp.

◆ DMVector

template<typename _Scalar >
typedef ::casadi::DMVector pinocchio.casadi::AutoDiffAlgoBase< _Scalar >::DMVector

Definition at line 30 of file casadi-algo.hpp.

◆ MatrixXs

template<typename _Scalar >
typedef Data::MatrixXs pinocchio.casadi::AutoDiffAlgoBase< _Scalar >::MatrixXs

Definition at line 46 of file casadi-algo.hpp.

◆ Model

template<typename _Scalar >
typedef pinocchio::ModelTpl<Scalar, Options> pinocchio.casadi::AutoDiffAlgoBase< _Scalar >::Model

Definition at line 36 of file casadi-algo.hpp.

◆ RowMatrixXs

template<typename _Scalar >
typedef Data::RowMatrixXs pinocchio.casadi::AutoDiffAlgoBase< _Scalar >::RowMatrixXs

Definition at line 48 of file casadi-algo.hpp.

◆ Scalar

template<typename _Scalar >
typedef _Scalar pinocchio.casadi::AutoDiffAlgoBase< _Scalar >::Scalar

Definition at line 26 of file casadi-algo.hpp.

◆ TangentVectorType

template<typename _Scalar >
typedef Model::TangentVectorType pinocchio.casadi::AutoDiffAlgoBase< _Scalar >::TangentVectorType

Definition at line 42 of file casadi-algo.hpp.

◆ VectorXs

template<typename _Scalar >
typedef Data::VectorXs pinocchio.casadi::AutoDiffAlgoBase< _Scalar >::VectorXs

Definition at line 47 of file casadi-algo.hpp.

Member Enumeration Documentation

◆ anonymous enum

template<typename _Scalar >
anonymous enum
Enumerator
Options 

Definition at line 31 of file casadi-algo.hpp.

Constructor & Destructor Documentation

◆ AutoDiffAlgoBase()

template<typename _Scalar >
pinocchio.casadi::AutoDiffAlgoBase< _Scalar >::AutoDiffAlgoBase ( const Model model,
const std::string &  filename,
const std::string &  libname,
const std::string &  fun_name 
)
inline

Definition at line 52 of file casadi-algo.hpp.

◆ ~AutoDiffAlgoBase()

template<typename _Scalar >
virtual pinocchio.casadi::AutoDiffAlgoBase< _Scalar >::~AutoDiffAlgoBase ( )
inlinevirtual

Definition at line 68 of file casadi-algo.hpp.

Member Function Documentation

◆ buildMap()

template<typename _Scalar >
virtual void pinocchio.casadi::AutoDiffAlgoBase< _Scalar >::buildMap ( )
pure virtual

◆ compileLib()

template<typename _Scalar >
void pinocchio.casadi::AutoDiffAlgoBase< _Scalar >::compileLib ( )
inline

Definition at line 96 of file casadi-algo.hpp.

◆ existLib()

template<typename _Scalar >
bool pinocchio.casadi::AutoDiffAlgoBase< _Scalar >::existLib ( ) const
inline

Definition at line 90 of file casadi-algo.hpp.

◆ getFunDerivsOperationCount()

template<typename _Scalar >
casadi_int pinocchio.casadi::AutoDiffAlgoBase< _Scalar >::getFunDerivsOperationCount ( ) const
inline

Definition at line 131 of file casadi-algo.hpp.

◆ getFunOperationCount()

template<typename _Scalar >
casadi_int pinocchio.casadi::AutoDiffAlgoBase< _Scalar >::getFunOperationCount ( ) const
inline

Definition at line 126 of file casadi-algo.hpp.

◆ initLib()

template<typename _Scalar >
void pinocchio.casadi::AutoDiffAlgoBase< _Scalar >::initLib ( )
inline

Definition at line 75 of file casadi-algo.hpp.

◆ loadLib()

template<typename _Scalar >
void pinocchio.casadi::AutoDiffAlgoBase< _Scalar >::loadLib ( const bool  generate_if_not_exist = true)
inline

Definition at line 114 of file casadi-algo.hpp.

Member Data Documentation

◆ ad_data

template<typename _Scalar >
ADData pinocchio.casadi::AutoDiffAlgoBase< _Scalar >::ad_data
protected

Definition at line 138 of file casadi-algo.hpp.

◆ ad_fun

template<typename _Scalar >
ADFun pinocchio.casadi::AutoDiffAlgoBase< _Scalar >::ad_fun
protected

Definition at line 147 of file casadi-algo.hpp.

◆ ad_fun_derivs

template<typename _Scalar >
ADFun pinocchio.casadi::AutoDiffAlgoBase< _Scalar >::ad_fun_derivs
protected

Definition at line 147 of file casadi-algo.hpp.

◆ ad_model

template<typename _Scalar >
ADModel pinocchio.casadi::AutoDiffAlgoBase< _Scalar >::ad_model
protected

Definition at line 137 of file casadi-algo.hpp.

◆ build_forward

template<typename _Scalar >
bool pinocchio.casadi::AutoDiffAlgoBase< _Scalar >::build_forward
protected

Options to generate or not the source code for the evaluation function.

Definition at line 143 of file casadi-algo.hpp.

◆ build_jacobian

template<typename _Scalar >
bool pinocchio.casadi::AutoDiffAlgoBase< _Scalar >::build_jacobian
protected

Options to build or not the Jacobian of he function.

Definition at line 145 of file casadi-algo.hpp.

◆ cg_generated

template<typename _Scalar >
::casadi::CodeGenerator pinocchio.casadi::AutoDiffAlgoBase< _Scalar >::cg_generated
protected

Definition at line 140 of file casadi-algo.hpp.

◆ filename

template<typename _Scalar >
std::string pinocchio.casadi::AutoDiffAlgoBase< _Scalar >::filename
protected

Definition at line 139 of file casadi-algo.hpp.

◆ fun

template<typename _Scalar >
ADFun pinocchio.casadi::AutoDiffAlgoBase< _Scalar >::fun
protected

Definition at line 148 of file casadi-algo.hpp.

◆ fun_derivs

template<typename _Scalar >
ADFun pinocchio.casadi::AutoDiffAlgoBase< _Scalar >::fun_derivs
protected

Definition at line 148 of file casadi-algo.hpp.

◆ fun_derivs_operation_count

template<typename _Scalar >
casadi_int pinocchio.casadi::AutoDiffAlgoBase< _Scalar >::fun_derivs_operation_count
protected

Definition at line 150 of file casadi-algo.hpp.

◆ fun_name

template<typename _Scalar >
std::string pinocchio.casadi::AutoDiffAlgoBase< _Scalar >::fun_name
protected

Definition at line 139 of file casadi-algo.hpp.

◆ fun_operation_count

template<typename _Scalar >
casadi_int pinocchio.casadi::AutoDiffAlgoBase< _Scalar >::fun_operation_count
protected

Definition at line 150 of file casadi-algo.hpp.

◆ fun_output

template<typename _Scalar >
std::vector<DMMatrix> pinocchio.casadi::AutoDiffAlgoBase< _Scalar >::fun_output
protected

Definition at line 149 of file casadi-algo.hpp.

◆ fun_output_derivs

template<typename _Scalar >
std::vector<DMMatrix> pinocchio.casadi::AutoDiffAlgoBase< _Scalar >::fun_output_derivs
protected

Definition at line 149 of file casadi-algo.hpp.

◆ libname

template<typename _Scalar >
std::string pinocchio.casadi::AutoDiffAlgoBase< _Scalar >::libname
protected

Definition at line 139 of file casadi-algo.hpp.


The documentation for this struct was generated from the following file:


pinocchio
Author(s):
autogenerated on Thu Dec 19 2024 03:41:36