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<StageFunctionTpl<Scalar>> |
using | Base = typename Impl::FunType |
using | Data = typename Impl::Data |
using | BaseData = StageFunctionDataTpl<Scalar> |
Public Types inherited from aligator::detail::linear_func_composition_impl< StageFunctionTpl< _Scalar > > | |
using | FunType |
using | Scalar |
using | BaseData |
Public Types inherited from aligator::StageFunctionTpl< _Scalar > | |
using | Scalar |
using | Data |
Public Member Functions | |
ALIGATOR_DYNAMIC_TYPEDEFS (Scalar) | |
void | evaluate (const ConstVectorRef &x, const ConstVectorRef &u, BaseData &data) const override |
void | computeJacobians (const ConstVectorRef &x, const ConstVectorRef &u, BaseData &data) const override |
shared_ptr< BaseData > | createData () const |
Instantiate a Data object. | |
Public Member Functions inherited from aligator::detail::linear_func_composition_impl< StageFunctionTpl< _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::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 |
Public Attributes | |
MatrixXs | A |
VectorXs | b |
xyz::polymorphic< FunType > | func |
Public Attributes inherited from aligator::detail::linear_func_composition_impl< StageFunctionTpl< _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 53 of file linear-function-composition.hpp.
using aligator::LinearFunctionCompositionTpl< _Scalar >::Scalar = _Scalar |
Definition at line 55 of file linear-function-composition.hpp.
using aligator::LinearFunctionCompositionTpl< _Scalar >::Impl = detail::linear_func_composition_impl<StageFunctionTpl<Scalar>> |
Definition at line 57 of file linear-function-composition.hpp.
using aligator::LinearFunctionCompositionTpl< _Scalar >::Base = typename Impl::FunType |
Definition at line 58 of file linear-function-composition.hpp.
using aligator::LinearFunctionCompositionTpl< _Scalar >::Data = typename Impl::Data |
Definition at line 59 of file linear-function-composition.hpp.
using aligator::LinearFunctionCompositionTpl< _Scalar >::BaseData = StageFunctionDataTpl<Scalar> |
Definition at line 60 of file linear-function-composition.hpp.
aligator::LinearFunctionCompositionTpl< _Scalar >::ALIGATOR_DYNAMIC_TYPEDEFS | ( | Scalar | ) |
|
override |
|
override |
|
inlinevirtual |
Instantiate a Data object.
Reimplemented from aligator::detail::linear_func_composition_impl< StageFunctionTpl< _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.