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

Base struct for function data. More...

#include <aligator/core/function-abstract.hpp>

Inheritance diagram for aligator::StageFunctionDataTpl< Scalar >:
[legend]
Collaboration diagram for aligator::StageFunctionDataTpl< Scalar >:
[legend]

Public Types

using Scalar = _Scalar
 

Public Member Functions

 ALIGATOR_DYNAMIC_TYPEDEFS (Scalar)
 
 StageFunctionDataTpl (const int ndx, const int nu, const int nr)
 Default constructor.
 
 StageFunctionDataTpl (const StageFunctionTpl< Scalar > &model)
 
virtual ~StageFunctionDataTpl ()=default
 

Public Attributes

const int ndx1
 
const int nu
 
const int nr
 
const int nvar = ndx1 + nu
 Total number of variables.
 
VectorXs value_
 Function value.
 
VectorRef valref_
 
MatrixXs jac_buffer_
 Full Jacobian.
 
MatrixXs vhp_buffer_
 Vector-Hessian product buffer.
 
MatrixRef Jx_
 Jacobian with respect to \(x\).
 
MatrixRef Ju_
 Jacobian with respect to \(u\).
 
MatrixRef Hxx_
 
MatrixRef Hxu_
 
MatrixRef Huu_
 

Detailed Description

template<typename Scalar>
struct aligator::StageFunctionDataTpl< Scalar >

Base struct for function data.

Definition at line 59 of file fwd.hpp.

Member Typedef Documentation

◆ Scalar

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

Definition at line 74 of file function-abstract.hpp.

Constructor & Destructor Documentation

◆ StageFunctionDataTpl() [1/2]

template<typename Scalar >
aligator::StageFunctionDataTpl< Scalar >::StageFunctionDataTpl ( const int ndx,
const int nu,
const int nr )

Default constructor.

◆ StageFunctionDataTpl() [2/2]

template<typename Scalar >
aligator::StageFunctionDataTpl< Scalar >::StageFunctionDataTpl ( const StageFunctionTpl< Scalar > & model)
explicit

◆ ~StageFunctionDataTpl()

template<typename Scalar >
virtual aligator::StageFunctionDataTpl< Scalar >::~StageFunctionDataTpl ( )
virtualdefault

Member Function Documentation

◆ ALIGATOR_DYNAMIC_TYPEDEFS()

template<typename Scalar >
aligator::StageFunctionDataTpl< Scalar >::ALIGATOR_DYNAMIC_TYPEDEFS ( Scalar )

Member Data Documentation

◆ ndx1

template<typename Scalar >
const int aligator::StageFunctionDataTpl< Scalar >::ndx1

Definition at line 77 of file function-abstract.hpp.

◆ nu

template<typename Scalar >
const int aligator::StageFunctionDataTpl< Scalar >::nu

Definition at line 78 of file function-abstract.hpp.

◆ nr

template<typename Scalar >
const int aligator::StageFunctionDataTpl< Scalar >::nr

Definition at line 79 of file function-abstract.hpp.

◆ nvar

template<typename Scalar >
const int aligator::StageFunctionDataTpl< Scalar >::nvar = ndx1 + nu

Total number of variables.

Definition at line 81 of file function-abstract.hpp.

◆ value_

template<typename Scalar >
VectorXs aligator::StageFunctionDataTpl< Scalar >::value_

Function value.

Definition at line 84 of file function-abstract.hpp.

◆ valref_

template<typename Scalar >
VectorRef aligator::StageFunctionDataTpl< Scalar >::valref_

Definition at line 85 of file function-abstract.hpp.

◆ jac_buffer_

template<typename Scalar >
MatrixXs aligator::StageFunctionDataTpl< Scalar >::jac_buffer_

Full Jacobian.

Definition at line 87 of file function-abstract.hpp.

◆ vhp_buffer_

template<typename Scalar >
MatrixXs aligator::StageFunctionDataTpl< Scalar >::vhp_buffer_

Vector-Hessian product buffer.

Definition at line 89 of file function-abstract.hpp.

◆ Jx_

template<typename Scalar >
MatrixRef aligator::StageFunctionDataTpl< Scalar >::Jx_

Jacobian with respect to \(x\).

Definition at line 91 of file function-abstract.hpp.

◆ Ju_

template<typename Scalar >
MatrixRef aligator::StageFunctionDataTpl< Scalar >::Ju_

Jacobian with respect to \(u\).

Definition at line 93 of file function-abstract.hpp.

◆ Hxx_

template<typename Scalar >
MatrixRef aligator::StageFunctionDataTpl< Scalar >::Hxx_

Definition at line 97 of file function-abstract.hpp.

◆ Hxu_

template<typename Scalar >
MatrixRef aligator::StageFunctionDataTpl< Scalar >::Hxu_

Definition at line 98 of file function-abstract.hpp.

◆ Huu_

template<typename Scalar >
MatrixRef aligator::StageFunctionDataTpl< Scalar >::Huu_

Definition at line 99 of file function-abstract.hpp.


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