Public Types | |
typedef ActivationDataAbstractTpl< Scalar > | ActivationDataAbstract |
typedef ResidualDataAbstractTpl< Scalar > | Base |
typedef DataCollectorAbstractTpl< Scalar > | DataCollectorAbstract |
typedef MathBaseTpl< Scalar > | MathBase |
typedef MathBaseTpl< Scalar >::VectorXs | VectorXs |
![]() | |
typedef DataCollectorAbstractTpl< Scalar > | DataCollectorAbstract |
typedef MathBaseTpl< Scalar > | MathBase |
typedef MathBase::MatrixXs | MatrixXs |
typedef MathBase::VectorXs | VectorXs |
Public Member Functions | |
template<template< typename Scalar > class Model> | |
ResidualDataNumDiffTpl (Model< Scalar > *const model, DataCollectorAbstract *const shared_data) | |
Initialize the numdiff residual data. | |
![]() | |
template<template< typename Scalar > class Model> | |
ResidualDataAbstractTpl (Model< Scalar > *const model, DataCollectorAbstract *const data) | |
Public Attributes | |
std::shared_ptr< Base > | data_0 |
The data at the approximation point. | |
std::vector< std::shared_ptr< Base > > | data_u |
The temporary data associated with the control variation. | |
std::vector< std::shared_ptr< Base > > | data_x |
The temporary data associated with the state variation. | |
VectorXs | du |
Control disturbance. | |
VectorXs | dx |
State disturbance. | |
VectorXs | r |
Residual vector. | |
MatrixXs | Ru |
Jacobian of the residual vector with respect the control. | |
MatrixXs | Rx |
Jacobian of the residual vector with respect the state. | |
EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef _Scalar | Scalar |
DataCollectorAbstract * | shared |
Shared data allocated by the action model. | |
Scalar | uh_jac |
Disturbance value used for computing \( \ell_\mathbf{u} \). | |
VectorXs | up |
Scalar | x_norm |
Norm of the state vector. | |
Scalar | xh_jac |
Disturbance value used for computing \( \ell_\mathbf{x} \). | |
VectorXs | xp |
![]() | |
MatrixXs | Arr_Ru |
MatrixXs | Arr_Rx |
VectorXs | r |
Residual vector. | |
MatrixXs | Ru |
Jacobian of the residual vector with respect the control. | |
MatrixXs | Rx |
Jacobian of the residual vector with respect the state. | |
EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef _Scalar | Scalar |
DataCollectorAbstract * | shared |
Shared data allocated by the action model. | |
Definition at line 146 of file residual.hpp.
typedef MathBaseTpl<Scalar> MathBase |
Definition at line 150 of file residual.hpp.
typedef ResidualDataAbstractTpl<Scalar> Base |
Definition at line 151 of file residual.hpp.
typedef DataCollectorAbstractTpl<Scalar> DataCollectorAbstract |
Definition at line 152 of file residual.hpp.
typedef ActivationDataAbstractTpl<Scalar> ActivationDataAbstract |
Definition at line 153 of file residual.hpp.
typedef MathBaseTpl<Scalar>::VectorXs VectorXs |
Definition at line 154 of file residual.hpp.
|
inlineexplicit |
Initialize the numdiff residual data.
Model | is the type of the ResidualModelAbstractTpl . |
model | is the object to compute the numerical differentiation from. |
Definition at line 163 of file residual.hpp.
|
inlinevirtual |
Definition at line 186 of file residual.hpp.
EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef _Scalar Scalar |
Definition at line 149 of file residual.hpp.
Scalar x_norm |
Norm of the state vector.
Definition at line 193 of file residual.hpp.
Scalar xh_jac |
Disturbance value used for computing \( \ell_\mathbf{x} \).
Definition at line 195 of file residual.hpp.
Scalar uh_jac |
Disturbance value used for computing \( \ell_\mathbf{u} \).
Definition at line 197 of file residual.hpp.
VectorXs dx |
State disturbance.
Definition at line 198 of file residual.hpp.
VectorXs xp |
The integrated state from the disturbance on one DoF "\iline 200 \_form#91@_fakenl".
Definition at line 199 of file residual.hpp.
VectorXs du |
Control disturbance.
Definition at line 201 of file residual.hpp.
VectorXs up |
The integrated control from the disturbance on one DoF "\iline 203 \_form#99@_fakenl".
Definition at line 202 of file residual.hpp.
std::shared_ptr<Base> data_0 |
The data at the approximation point.
Definition at line 204 of file residual.hpp.
std::vector<std::shared_ptr<Base> > data_x |
The temporary data associated with the state variation.
Definition at line 206 of file residual.hpp.
std::vector<std::shared_ptr<Base> > data_u |
The temporary data associated with the control variation.
Definition at line 208 of file residual.hpp.
VectorXs r |
Residual vector.
Definition at line 265 of file residual-base.hpp.
MatrixXs Ru |
Jacobian of the residual vector with respect the control.
Definition at line 267 of file residual-base.hpp.
MatrixXs Rx |
Jacobian of the residual vector with respect the state.
Definition at line 266 of file residual-base.hpp.
DataCollectorAbstract* shared |
Shared data allocated by the action model.
Definition at line 264 of file residual-base.hpp.