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 Types inherited from ActivationModelAbstractTpl< _Scalar > | |
typedef ActivationDataAbstractTpl< Scalar > | ActivationDataAbstract |
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 |
Return the disturbance constant used in the numerical differentiation routine. | |
const boost::shared_ptr< Base > & | get_model () const |
Get the model_ object. More... | |
void | set_disturbance (const Scalar disturbance) |
Modify the disturbance constant used in the numerical differentiation routine. | |
Public Member Functions inherited from ActivationModelAbstractTpl< _Scalar > | |
ActivationModelAbstractTpl (const std::size_t nr) | |
std::size_t | get_nr () const |
virtual void | print (std::ostream &os) const |
Print relevant information of the activation model. More... | |
Public Attributes | |
EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef _Scalar | Scalar |
Public Attributes inherited from ActivationModelAbstractTpl< _Scalar > | |
EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef _Scalar | Scalar |
Protected Attributes | |
std::size_t | nr_ |
Protected Attributes inherited from ActivationModelAbstractTpl< _Scalar > | |
std::size_t | nr_ |
Definition at line 22 of file activation.hpp.
|
explicit |
Construct a new ActivationModelNumDiff object.
model |
|
virtual |
Implements ActivationModelAbstractTpl< _Scalar >.
|
virtual |
Implements ActivationModelAbstractTpl< _Scalar >.
|
virtual |
Create a Data object from the given model.
Reimplemented from ActivationModelAbstractTpl< _Scalar >.
const boost::shared_ptr<Base>& get_model | ( | ) | const |
Get the model_ object.