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

#include <aligator/modelling/costs/quad-costs.hpp>

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

Public Types

using Base = CostDataAbstractTpl<Scalar>
 
using VectorXs = typename Base::VectorXs
 
- Public Types inherited from aligator::CostDataAbstractTpl< Scalar >
using Scalar = _Scalar
 

Public Member Functions

 QuadraticCostDataTpl (const int nx, const int nu)
 
- Public Member Functions inherited from aligator::CostDataAbstractTpl< Scalar >
 ALIGATOR_DYNAMIC_TYPEDEFS (Scalar)
 
 CostDataAbstractTpl (const int ndx, const int nu)
 
 CostDataAbstractTpl (const CostAbstractTpl< Scalar > &cost)
 
virtual ~CostDataAbstractTpl ()=default
 

Public Attributes

VectorXs w_times_x_
 
VectorXs w_times_u_
 
VectorXs cross_x_
 
VectorXs cross_u_
 
- Public Attributes inherited from aligator::CostDataAbstractTpl< Scalar >
int ndx_
 
int nu_
 
Scalar value_
 
VectorXs grad_
 
MatrixXs hess_
 
VectorRef Lx_
 Gradient \(\ell_x\).
 
VectorRef Lu_
 Gradient \(\ell_u\).
 
MatrixRef Lxx_
 Hessian \(\ell_{xx}\).
 
MatrixRef Lxu_
 Hessian \(\ell_{xu}\).
 
MatrixRef Lux_
 Hessian \(\ell_{ux}\).
 
MatrixRef Luu_
 Hessian \(\ell_{uu}\).
 

Detailed Description

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

Definition at line 141 of file quad-costs.hpp.

Member Typedef Documentation

◆ Base

Definition at line 142 of file quad-costs.hpp.

◆ VectorXs

template<typename Scalar >
using aligator::QuadraticCostDataTpl< Scalar >::VectorXs = typename Base::VectorXs

Definition at line 143 of file quad-costs.hpp.

Constructor & Destructor Documentation

◆ QuadraticCostDataTpl()

template<typename Scalar >
aligator::QuadraticCostDataTpl< Scalar >::QuadraticCostDataTpl ( const int nx,
const int nu )
inline

Definition at line 146 of file quad-costs.hpp.

Member Data Documentation

◆ w_times_x_

template<typename Scalar >
VectorXs aligator::QuadraticCostDataTpl< Scalar >::w_times_x_

Definition at line 144 of file quad-costs.hpp.

◆ w_times_u_

template<typename Scalar >
VectorXs aligator::QuadraticCostDataTpl< Scalar >::w_times_u_

Definition at line 144 of file quad-costs.hpp.

◆ cross_x_

template<typename Scalar >
VectorXs aligator::QuadraticCostDataTpl< Scalar >::cross_x_

Definition at line 144 of file quad-costs.hpp.

◆ cross_u_

template<typename Scalar >
VectorXs aligator::QuadraticCostDataTpl< Scalar >::cross_u_

Definition at line 144 of file quad-costs.hpp.


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