Public Types | |
typedef ActivationDataAbstractTpl< Scalar > | ActivationDataAbstract |
typedef ActivationModelAbstractTpl< Scalar > | Base |
typedef ActivationDataNumDiffTpl< Scalar > | Data |
typedef MathBaseTpl< Scalar > | MathBase |
typedef MathBase::MatrixXs | MatrixXs |
typedef MathBase::VectorXs | VectorXs |
Public Member Functions | |
ActivationModelNumDiffTpl (boost::shared_ptr< Base > model) | |
Construct a new ActivationModelNumDiff object. More... | |
virtual | ~ActivationModelNumDiffTpl () |
Destroy the ActivationModelNumDiff object. | |
virtual void | calc (const boost::shared_ptr< ActivationDataAbstract > &data, const Eigen::Ref< const VectorXs > &r) |
virtual void | calcDiff (const boost::shared_ptr< ActivationDataAbstract > &data, const Eigen::Ref< const VectorXs > &r) |
virtual boost::shared_ptr< ActivationDataAbstract > | createData () |
Create a Data object from the given model. More... | |
const Scalar | get_disturbance () const |
Get the disturbance_ object. More... | |
const boost::shared_ptr< Base > & | get_model () const |
Get the model_ object. More... | |
void | set_disturbance (const Scalar disturbance) |
Set the disturbance_ object. More... | |
Public Attributes | |
EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef _Scalar | Scalar |
|
explicit |
Construct a new ActivationModelNumDiff object.
model |
|
virtual |
|
virtual |
|
virtual |
Create a Data object from the given model.
const boost::shared_ptr<Base>& get_model | ( | ) | const |
Get the model_ object.
const Scalar get_disturbance | ( | ) | const |
Get the disturbance_ object.
void set_disturbance | ( | const Scalar | disturbance | ) |
Set the disturbance_ object.
disturbance | is the value used to find the numerical derivative |