aligator
0.9.0
A primal-dual augmented Lagrangian-type solver for nonlinear trajectory optimization.
|
#include <aligator/modelling/linear-function-composition.hpp>
Public Types | |
using | Scalar = _Scalar |
using | Impl = detail::linear_func_composition_impl<Base> |
using | Data = typename Impl::Data |
using | BaseData = StageFunctionDataTpl<Scalar> |
Public Types inherited from aligator::detail::linear_func_composition_impl< UnaryFunctionTpl< _Scalar > > | |
using | FunType |
using | Scalar |
using | BaseData |
Public Types inherited from aligator::UnaryFunctionTpl< _Scalar > | |
using | Scalar |
using | Base |
using | Data |
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, BaseData &data) const override |
void | computeJacobians (const ConstVectorRef &x, BaseData &data) const override |
shared_ptr< BaseData > | createData () const |
Instantiate a Data object. | |
Public Member Functions inherited from aligator::detail::linear_func_composition_impl< UnaryFunctionTpl< _Scalar > > | |
ALIGATOR_DYNAMIC_TYPEDEFS (Scalar) | |
linear_func_composition_impl (xyz::polymorphic< FunType > func, const ConstMatrixRef A, const ConstVectorRef b) | |
linear_func_composition_impl (xyz::polymorphic< FunType > func, const ConstMatrixRef A) | |
Public Member Functions inherited from aligator::UnaryFunctionTpl< _Scalar > | |
ALIGATOR_DYNAMIC_TYPEDEFS (_Scalar) | |
virtual void | evaluate (const ConstVectorRef &x, Data &data) const=0 |
void | evaluate (const ConstVectorRef &x, const ConstVectorRef &, Data &data) const override |
virtual void | computeJacobians (const ConstVectorRef &x, Data &data) const=0 |
void | computeJacobians (const ConstVectorRef &x, const ConstVectorRef &, Data &data) const override |
virtual void | computeVectorHessianProducts (const ConstVectorRef &, const ConstVectorRef &, Data &) const |
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 | ~StageFunctionTpl ()=default |
Public Attributes | |
MatrixXs | A |
VectorXs | b |
xyz::polymorphic< FunType > | func |
Public Attributes inherited from aligator::detail::linear_func_composition_impl< UnaryFunctionTpl< _Scalar > > | |
xyz::polymorphic< FunType > | func |
MatrixXs | A |
VectorXs | b |
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 76 of file linear-function-composition.hpp.
using aligator::LinearUnaryFunctionCompositionTpl< _Scalar >::Scalar = _Scalar |
Definition at line 78 of file linear-function-composition.hpp.
using aligator::LinearUnaryFunctionCompositionTpl< _Scalar >::Impl = detail::linear_func_composition_impl<Base> |
Definition at line 81 of file linear-function-composition.hpp.
using aligator::LinearUnaryFunctionCompositionTpl< _Scalar >::Data = typename Impl::Data |
Definition at line 82 of file linear-function-composition.hpp.
using aligator::LinearUnaryFunctionCompositionTpl< _Scalar >::BaseData = StageFunctionDataTpl<Scalar> |
Definition at line 83 of file linear-function-composition.hpp.
aligator::LinearUnaryFunctionCompositionTpl< _Scalar >::ALIGATOR_DYNAMIC_TYPEDEFS | ( | Scalar | ) |
aligator::LinearUnaryFunctionCompositionTpl< _Scalar >::ALIGATOR_UNARY_FUNCTION_INTERFACE | ( | Scalar | ) |
|
override |
|
override |
|
inlinevirtual |
Instantiate a Data object.
Reimplemented from aligator::detail::linear_func_composition_impl< UnaryFunctionTpl< _Scalar > >.
Definition at line 46 of file linear-function-composition.hpp.
MatrixXs aligator::detail::linear_func_composition_impl< _FunType >::A |
Definition at line 18 of file linear-function-composition.hpp.
VectorXs aligator::detail::linear_func_composition_impl< _FunType >::b |
Definition at line 19 of file linear-function-composition.hpp.
xyz::polymorphic<FunType> aligator::detail::linear_func_composition_impl< _FunType >::func |
Definition at line 17 of file linear-function-composition.hpp.