|
GCOP
1.0
|
#include <rnlqcost.h>


Public Member Functions | |
| RnLqCost (System< Vectornd, _nx, _nu, _np > &sys, double tf, const Vectornd &xf, bool diag=true) | |
Linear-quadratic cost over a vector space
| 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, ...)
| tf | final time |
| xf | desired final state |
| diag | are the Q,Qf,R matrices diagonal? (true by default) |
1.7.6.1