aligator
0.10.0
A primal-dual augmented Lagrangian-type solver for nonlinear trajectory optimization.
|
#include </home/runner/work/aligator/aligator/bindings/python/include/aligator/python/functions.hpp>
Public Types | |
using | Scalar = typename UFunction::Scalar |
using | Data = StageFunctionDataTpl<Scalar> |
Public Types inherited from aligator::UnaryFunctionTpl< Scalar > | |
using | Scalar = _Scalar |
using | Base = StageFunctionTpl<Scalar> |
using | Data = StageFunctionDataTpl<Scalar> |
Public Types inherited from aligator::StageFunctionTpl< _Scalar > | |
using | Scalar |
using | Data |
Public Member Functions | |
ALIGATOR_DYNAMIC_TYPEDEFS (Scalar) | |
ALIGATOR_UNARY_FUNCTION_INTERFACE (Scalar) | |
void | evaluate (const ConstVectorRef &x, Data &data) const override |
void | computeJacobians (const ConstVectorRef &x, Data &data) const override |
void | computeVectorHessianProducts (const ConstVectorRef &x, const ConstVectorRef &lbda, Data &data) const override |
void | default_computeVectorHessianProducts (const ConstVectorRef &x, const ConstVectorRef &lbda, Data &data) const |
shared_ptr< Data > | createData () const override |
Instantiate a Data object. | |
shared_ptr< Data > | default_createData () const |
Public Member Functions inherited from aligator::UnaryFunctionTpl< Scalar > | |
ALIGATOR_DYNAMIC_TYPEDEFS (Scalar) | |
void | evaluate (const ConstVectorRef &x, const ConstVectorRef &, Data &data) const override |
void | computeJacobians (const ConstVectorRef &x, const ConstVectorRef &, Data &data) const override |
void | computeVectorHessianProducts (const ConstVectorRef &x, const ConstVectorRef &, const ConstVectorRef &lbda, Data &data) const override |
Public Member Functions inherited from aligator::StageFunctionTpl< _Scalar > | |
ALIGATOR_DYNAMIC_TYPEDEFS (_Scalar) | |
StageFunctionTpl (const int ndx, const int nu, const int nr) | |
virtual void | evaluate (const ConstVectorRef &x, const ConstVectorRef &u, Data &data) const=0 |
Evaluate the function. | |
virtual void | computeJacobians (const ConstVectorRef &x, const ConstVectorRef &u, Data &data) const=0 |
Compute Jacobians of this function. | |
virtual void | computeVectorHessianProducts (const ConstVectorRef &x, const ConstVectorRef &u, const ConstVectorRef &lbda, Data &data) const |
Compute the vector-hessian products of this function. | |
virtual | ~StageFunctionTpl ()=default |
Additional Inherited Members | |
Public Attributes inherited from aligator::StageFunctionTpl< _Scalar > | |
const int | ndx1 |
Current state dimension. | |
const int | nu |
Control dimension. | |
const int | nr |
Function codimension. | |
Definition at line 65 of file functions.hpp.
using aligator::python::PyUnaryFunction< UFunction >::Scalar = typename UFunction::Scalar |
Definition at line 69 of file functions.hpp.
using aligator::python::PyUnaryFunction< UFunction >::Data = StageFunctionDataTpl<Scalar> |
Definition at line 75 of file functions.hpp.
aligator::python::PyUnaryFunction< UFunction >::ALIGATOR_DYNAMIC_TYPEDEFS | ( | Scalar | ) |
aligator::python::PyUnaryFunction< UFunction >::ALIGATOR_UNARY_FUNCTION_INTERFACE | ( | Scalar | ) |
|
inlineoverridevirtual |
Implements aligator::UnaryFunctionTpl< Scalar >.
Definition at line 79 of file functions.hpp.
|
inlineoverridevirtual |
Implements aligator::UnaryFunctionTpl< Scalar >.
Definition at line 83 of file functions.hpp.
|
inlineoverridevirtual |
Reimplemented from aligator::UnaryFunctionTpl< Scalar >.
Definition at line 88 of file functions.hpp.
|
inline |
Definition at line 95 of file functions.hpp.
|
inlineoverridevirtual |
Instantiate a Data object.
Reimplemented from aligator::StageFunctionTpl< _Scalar >.
Definition at line 101 of file functions.hpp.
|
inline |
Definition at line 105 of file functions.hpp.