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

Q-function model parameters. More...

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

Collaboration diagram for aligator::QFunctionTpl< _Scalar >:
[legend]

Public Types

using Scalar = _Scalar
 

Public Member Functions

 ALIGATOR_DYNAMIC_TYPEDEFS (Scalar)
 
long ntot () const
 
 QFunctionTpl (const long ndx, const long nu, const long ndy)
 
 QFunctionTpl (const QFunctionTpl &qf)
 
 QFunctionTpl (QFunctionTpl &&qf)
 
QFunctionTploperator= (QFunctionTpl &&qf)
 
QFunctionTploperator= (const QFunctionTpl &qf)
 

Public Attributes

long ndx_
 
long nu_
 
long ndy_
 
Scalar q_ = 0.
 
VectorXs grad_
 
MatrixXs hess_
 
VectorRef Qx
 
VectorRef Qu
 
MatrixRef Qxx
 
MatrixRef Qxu
 
MatrixRef Qxy
 
MatrixRef Quu
 
MatrixRef Quy
 
MatrixRef Qyy
 

Static Protected Member Functions

static void redef_refs (QFunctionTpl &q)
 

Friends

std::ostream & operator<< (std::ostream &oss, const QFunctionTpl &store)
 
void swap (QFunctionTpl &qa, QFunctionTpl &qb)
 

Detailed Description

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

Q-function model parameters.

This struct also provides views for the blocks of interest \(Q_x, Q_u, Q_y\ldots\).

Definition at line 40 of file value-function.hpp.

Member Typedef Documentation

◆ Scalar

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

Definition at line 41 of file value-function.hpp.

Constructor & Destructor Documentation

◆ QFunctionTpl() [1/3]

template<typename _Scalar >
aligator::QFunctionTpl< _Scalar >::QFunctionTpl ( const long ndx,
const long nu,
const long ndy )
inline

Definition at line 64 of file value-function.hpp.

◆ QFunctionTpl() [2/3]

template<typename _Scalar >
aligator::QFunctionTpl< _Scalar >::QFunctionTpl ( const QFunctionTpl< _Scalar > & qf)
inline

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

◆ QFunctionTpl() [3/3]

template<typename _Scalar >
aligator::QFunctionTpl< _Scalar >::QFunctionTpl ( QFunctionTpl< _Scalar > && qf)
inline

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

Member Function Documentation

◆ ALIGATOR_DYNAMIC_TYPEDEFS()

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

◆ ntot()

template<typename _Scalar >
long aligator::QFunctionTpl< _Scalar >::ntot ( ) const
inline

Definition at line 47 of file value-function.hpp.

◆ operator=() [1/2]

template<typename _Scalar >
QFunctionTpl & aligator::QFunctionTpl< _Scalar >::operator= ( QFunctionTpl< _Scalar > && qf)
inline

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

◆ operator=() [2/2]

template<typename _Scalar >
QFunctionTpl & aligator::QFunctionTpl< _Scalar >::operator= ( const QFunctionTpl< _Scalar > & qf)
inline

Definition at line 96 of file value-function.hpp.

◆ redef_refs()

template<typename _Scalar >
static void aligator::QFunctionTpl< _Scalar >::redef_refs ( QFunctionTpl< _Scalar > & q)
inlinestaticprotected

Definition at line 133 of file value-function.hpp.

Friends And Related Symbol Documentation

◆ operator<<

template<typename _Scalar >
std::ostream & operator<< ( std::ostream & oss,
const QFunctionTpl< _Scalar > & store )
friend

Definition at line 108 of file value-function.hpp.

◆ swap

template<typename _Scalar >
void swap ( QFunctionTpl< _Scalar > & qa,
QFunctionTpl< _Scalar > & qb )
friend

Definition at line 117 of file value-function.hpp.

Member Data Documentation

◆ ndx_

template<typename _Scalar >
long aligator::QFunctionTpl< _Scalar >::ndx_

Definition at line 44 of file value-function.hpp.

◆ nu_

template<typename _Scalar >
long aligator::QFunctionTpl< _Scalar >::nu_

Definition at line 45 of file value-function.hpp.

◆ ndy_

template<typename _Scalar >
long aligator::QFunctionTpl< _Scalar >::ndy_

Definition at line 46 of file value-function.hpp.

◆ q_

template<typename _Scalar >
Scalar aligator::QFunctionTpl< _Scalar >::q_ = 0.

Definition at line 49 of file value-function.hpp.

◆ grad_

template<typename _Scalar >
VectorXs aligator::QFunctionTpl< _Scalar >::grad_

Definition at line 51 of file value-function.hpp.

◆ hess_

template<typename _Scalar >
MatrixXs aligator::QFunctionTpl< _Scalar >::hess_

Definition at line 52 of file value-function.hpp.

◆ Qx

template<typename _Scalar >
VectorRef aligator::QFunctionTpl< _Scalar >::Qx

Definition at line 54 of file value-function.hpp.

◆ Qu

template<typename _Scalar >
VectorRef aligator::QFunctionTpl< _Scalar >::Qu

Definition at line 55 of file value-function.hpp.

◆ Qxx

template<typename _Scalar >
MatrixRef aligator::QFunctionTpl< _Scalar >::Qxx

Definition at line 57 of file value-function.hpp.

◆ Qxu

template<typename _Scalar >
MatrixRef aligator::QFunctionTpl< _Scalar >::Qxu

Definition at line 58 of file value-function.hpp.

◆ Qxy

template<typename _Scalar >
MatrixRef aligator::QFunctionTpl< _Scalar >::Qxy

Definition at line 59 of file value-function.hpp.

◆ Quu

template<typename _Scalar >
MatrixRef aligator::QFunctionTpl< _Scalar >::Quu

Definition at line 60 of file value-function.hpp.

◆ Quy

template<typename _Scalar >
MatrixRef aligator::QFunctionTpl< _Scalar >::Quy

Definition at line 61 of file value-function.hpp.

◆ Qyy

template<typename _Scalar >
MatrixRef aligator::QFunctionTpl< _Scalar >::Qyy

Definition at line 62 of file value-function.hpp.


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