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 |
![]() | |
typedef ActivationDataAbstractTpl< Scalar > | ActivationDataAbstract |
typedef MathBaseTpl< Scalar > | MathBase |
typedef MathBase::MatrixXs | MatrixXs |
typedef MathBase::VectorXs | VectorXs |
Public Member Functions | |
ActivationModelNumDiffTpl (std::shared_ptr< Base > model) | |
Construct a new ActivationModelNumDiff object. | |
virtual | ~ActivationModelNumDiffTpl () |
Destroy the ActivationModelNumDiff object. | |
virtual void | calc (const std::shared_ptr< ActivationDataAbstract > &data, const Eigen::Ref< const VectorXs > &r) |
virtual void | calcDiff (const std::shared_ptr< ActivationDataAbstract > &data, const Eigen::Ref< const VectorXs > &r) |
virtual std::shared_ptr< ActivationDataAbstract > | createData () |
Create a Data object from the given model. | |
const Scalar | get_disturbance () const |
Return the disturbance constant used in the numerical differentiation routine. | |
const std::shared_ptr< Base > & | get_model () const |
Get the model_ object. | |
void | set_disturbance (const Scalar disturbance) |
Modify the disturbance constant used in the numerical differentiation routine. | |
![]() | |
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. | |
Public Attributes | |
EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef _Scalar | Scalar |
![]() | |
EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef _Scalar | Scalar |
Additional Inherited Members | |
![]() | |
std::size_t | nr_ |
Definition at line 22 of file activation.hpp.
typedef MathBaseTpl<Scalar> MathBase |
Definition at line 27 of file activation.hpp.
typedef ActivationModelAbstractTpl<Scalar> Base |
Definition at line 28 of file activation.hpp.
typedef ActivationDataNumDiffTpl<Scalar> Data |
Definition at line 29 of file activation.hpp.
typedef ActivationDataAbstractTpl<Scalar> ActivationDataAbstract |
Definition at line 30 of file activation.hpp.
typedef MathBase::VectorXs VectorXs |
Definition at line 31 of file activation.hpp.
typedef MathBase::MatrixXs MatrixXs |
Definition at line 32 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 std::shared_ptr< Base > & get_model | ( | ) | const |
Get the model_ object.
EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef _Scalar Scalar |
Definition at line 26 of file activation.hpp.