GCOP  1.0
Public Member Functions
gcop::RnLqCost< _nx, _nu, _np, _ng > Class Template Reference

#include <rnlqcost.h>

Inheritance diagram for gcop::RnLqCost< _nx, _nu, _np, _ng >:
Inheritance graph
[legend]
Collaboration diagram for gcop::RnLqCost< _nx, _nu, _np, _ng >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 RnLqCost (System< Vectornd, _nx, _nu, _np > &sys, double tf, const Vectornd &xf, bool diag=true)

Detailed Description

template<int _nx = Dynamic, int _nu = Dynamic, int _np = Dynamic, int _ng = Dynamic>
class gcop::RnLqCost< _nx, _nu, _np, _ng >

Linear-quadratic cost over a vector space $ \mathbb R^n $


Constructor & Destructor Documentation

template<int _nx, int _nu, int _np, int _ng>
gcop::RnLqCost< _nx, _nu, _np, _ng >::RnLqCost ( System< Vectornd, _nx, _nu, _np > &  sys,
double  tf,
const Vectornd &  xf,
bool  diag = true 
)

Linear-quadratic cost on a vector space. Use this constructor only for fixed-size initialization, i.e. RnLqCost<n,c>(tf, xf, ...)

Parameters:
tffinal time
xfdesired final state
diagare the Q,Qf,R matrices diagonal? (true by default)

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