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) override |
virtual void | calcDiff (const std::shared_ptr< ActivationDataAbstract > &data, const Eigen::Ref< const VectorXs > &r) override |
template<typename NewScalar > | |
ActivationModelNumDiffTpl< NewScalar > | cast () const |
virtual std::shared_ptr< ActivationDataAbstract > | createData () override |
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 19 of file activation.hpp.
typedef MathBaseTpl<Scalar> MathBase |
Definition at line 25 of file activation.hpp.
typedef ActivationModelAbstractTpl<Scalar> Base |
Definition at line 26 of file activation.hpp.
typedef ActivationDataNumDiffTpl<Scalar> Data |
Definition at line 27 of file activation.hpp.
typedef ActivationDataAbstractTpl<Scalar> ActivationDataAbstract |
Definition at line 28 of file activation.hpp.
typedef MathBase::VectorXs VectorXs |
Definition at line 29 of file activation.hpp.
typedef MathBase::MatrixXs MatrixXs |
Definition at line 30 of file activation.hpp.
|
explicit |
Construct a new ActivationModelNumDiff object.
model |
|
overridevirtual |
Implements ActivationModelAbstractTpl< _Scalar >.
|
overridevirtual |
Implements ActivationModelAbstractTpl< _Scalar >.
|
overridevirtual |
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 24 of file activation.hpp.