Public Types | |
enum | { Options = 0 } |
typedef ADModel::ConfigVectorType | ADConfigVectorType |
typedef pinocchio::DataTpl< ADScalar, Options > | ADData |
typedef ::casadi::Function | ADFun |
typedef pinocchio::ModelTpl< ADScalar, Options > | ADModel |
typedef ::casadi::SX | ADScalar |
typedef ::casadi::SXVector | ADSVector |
typedef ADModel::TangentVectorType | ADTangentVectorType |
typedef Model::ConfigVectorType | ConfigVectorType |
typedef pinocchio::DataTpl< Scalar, Options > | Data |
typedef ::casadi::DM | DMMatrix |
typedef ::casadi::DMVector | DMVector |
typedef Data::MatrixXs | MatrixXs |
typedef pinocchio::ModelTpl< Scalar, Options > | Model |
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) | |
void | compileLib () |
bool | existLib () const |
casadi_int | getFunDerivsOperationCount () const |
casadi_int | getFunOperationCount () const |
void | initLib () |
void | loadLib (const bool generate_if_not_exist=true) |
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. | |
bool | build_jacobian |
Options to build or not the Jacobian of he function. | |
::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< DMMatrix > | fun_output |
std::vector< DMMatrix > | fun_output_derivs |
std::string | libname |
Definition at line 24 of file casadi-algo.hpp.
typedef ADModel::ConfigVectorType ADConfigVectorType |
Definition at line 43 of file casadi-algo.hpp.
typedef pinocchio::DataTpl<ADScalar, Options> ADData |
Definition at line 39 of file casadi-algo.hpp.
Definition at line 50 of file casadi-algo.hpp.
typedef pinocchio::ModelTpl<ADScalar, Options> ADModel |
Definition at line 38 of file casadi-algo.hpp.
Definition at line 27 of file casadi-algo.hpp.
Definition at line 28 of file casadi-algo.hpp.
typedef ADModel::TangentVectorType ADTangentVectorType |
Definition at line 44 of file casadi-algo.hpp.
typedef Model::ConfigVectorType ConfigVectorType |
Definition at line 41 of file casadi-algo.hpp.
Definition at line 37 of file casadi-algo.hpp.
Definition at line 29 of file casadi-algo.hpp.
Definition at line 30 of file casadi-algo.hpp.
Definition at line 46 of file casadi-algo.hpp.
Definition at line 36 of file casadi-algo.hpp.
Definition at line 48 of file casadi-algo.hpp.
typedef Model::TangentVectorType TangentVectorType |
Definition at line 42 of file casadi-algo.hpp.
Definition at line 47 of file casadi-algo.hpp.
|
inline |
Definition at line 52 of file casadi-algo.hpp.
|
inlinevirtual |
Definition at line 68 of file casadi-algo.hpp.
build the mapping Y = f(X)
Implemented in AutoDiffABA< _Scalar >, AutoDiffABADerivatives< _Scalar >, AutoDiffConstraintDynamics< _Scalar >, and AutoDiffConstraintDynamicsDerivatives< _Scalar >.
Definition at line 96 of file casadi-algo.hpp.
Definition at line 90 of file casadi-algo.hpp.
|
inline |
Definition at line 131 of file casadi-algo.hpp.
|
inline |
Definition at line 126 of file casadi-algo.hpp.
Definition at line 75 of file casadi-algo.hpp.
Definition at line 114 of file casadi-algo.hpp.
Definition at line 138 of file casadi-algo.hpp.
Definition at line 147 of file casadi-algo.hpp.
Definition at line 147 of file casadi-algo.hpp.
Definition at line 137 of file casadi-algo.hpp.
Options to generate or not the source code for the evaluation function.
Definition at line 143 of file casadi-algo.hpp.
Options to build or not the Jacobian of he function.
Definition at line 145 of file casadi-algo.hpp.
Definition at line 140 of file casadi-algo.hpp.
Definition at line 139 of file casadi-algo.hpp.
Definition at line 148 of file casadi-algo.hpp.
Definition at line 148 of file casadi-algo.hpp.
|
protected |
Definition at line 150 of file casadi-algo.hpp.
Definition at line 139 of file casadi-algo.hpp.
|
protected |
Definition at line 150 of file casadi-algo.hpp.
Definition at line 149 of file casadi-algo.hpp.
Definition at line 149 of file casadi-algo.hpp.
Definition at line 139 of file casadi-algo.hpp.