aligator  0.10.0
A primal-dual augmented Lagrangian-type solver for nonlinear trajectory optimization.
Loading...
Searching...
No Matches
aligator::LinearUnaryFunctionCompositionTpl< _Scalar > Struct Template Reference

#include <aligator/modelling/linear-function-composition.hpp>

Inheritance diagram for aligator::LinearUnaryFunctionCompositionTpl< _Scalar >:
[legend]
Collaboration diagram for aligator::LinearUnaryFunctionCompositionTpl< _Scalar >:
[legend]

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< BaseDatacreateData () 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< FunTypefunc
 
- Public Attributes inherited from aligator::detail::linear_func_composition_impl< UnaryFunctionTpl< _Scalar > >
xyz::polymorphic< FunTypefunc
 
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.
 

Detailed Description

template<typename _Scalar>
struct aligator::LinearUnaryFunctionCompositionTpl< _Scalar >

Definition at line 76 of file linear-function-composition.hpp.

Member Typedef Documentation

◆ Scalar

template<typename _Scalar >
using aligator::LinearUnaryFunctionCompositionTpl< _Scalar >::Scalar = _Scalar

Definition at line 78 of file linear-function-composition.hpp.

◆ Impl

template<typename _Scalar >
using aligator::LinearUnaryFunctionCompositionTpl< _Scalar >::Impl = detail::linear_func_composition_impl<Base>

Definition at line 81 of file linear-function-composition.hpp.

◆ Data

template<typename _Scalar >
using aligator::LinearUnaryFunctionCompositionTpl< _Scalar >::Data = typename Impl::Data

Definition at line 82 of file linear-function-composition.hpp.

◆ BaseData

template<typename _Scalar >
using aligator::LinearUnaryFunctionCompositionTpl< _Scalar >::BaseData = StageFunctionDataTpl<Scalar>

Definition at line 83 of file linear-function-composition.hpp.

Member Function Documentation

◆ ALIGATOR_DYNAMIC_TYPEDEFS()

template<typename _Scalar >
aligator::LinearUnaryFunctionCompositionTpl< _Scalar >::ALIGATOR_DYNAMIC_TYPEDEFS ( Scalar )

◆ ALIGATOR_UNARY_FUNCTION_INTERFACE()

template<typename _Scalar >
aligator::LinearUnaryFunctionCompositionTpl< _Scalar >::ALIGATOR_UNARY_FUNCTION_INTERFACE ( Scalar )

◆ evaluate()

template<typename _Scalar >
void aligator::LinearUnaryFunctionCompositionTpl< _Scalar >::evaluate ( const ConstVectorRef & x,
BaseData & data ) const
override

◆ computeJacobians()

template<typename _Scalar >
void aligator::LinearUnaryFunctionCompositionTpl< _Scalar >::computeJacobians ( const ConstVectorRef & x,
BaseData & data ) const
override

◆ createData()

template<typename _Scalar >
shared_ptr< BaseData > aligator::detail::linear_func_composition_impl< _FunType >::createData ( ) const
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.

Member Data Documentation

◆ A

template<typename _Scalar >
MatrixXs aligator::detail::linear_func_composition_impl< _FunType >::A

Definition at line 18 of file linear-function-composition.hpp.

◆ b

template<typename _Scalar >
VectorXs aligator::detail::linear_func_composition_impl< _FunType >::b

Definition at line 19 of file linear-function-composition.hpp.

◆ func

template<typename _Scalar >
xyz::polymorphic<FunType> aligator::detail::linear_func_composition_impl< _FunType >::func

Definition at line 17 of file linear-function-composition.hpp.


The documentation for this struct was generated from the following file: