|
GCOP
1.0
|
#include <flat.h>

Public Member Functions | |
| Flat (System< T, nx, nu, np, nz, _ny > &sys, int ny=_ny, int ox=1, int ou=2) | |
| virtual bool | State (T &x, const vector< Vectoryd > &ys) |
| virtual bool | Control (Vectorcd &u, const vector< Vectormd > &ys) |
Public Attributes | |
| System< T, nx, nu, np, nz > & | sys |
| system | |
| int | ny |
| flat output dimension | |
| int | ox |
| state order | |
| int | ou |
| control order | |
General flat output definition
Author: Marin Kobilarov (c) 2005--2013
| gcop::Flat< T, nx, nu, np, nz, _ny >::Flat | ( | System< T, nx, nu, np, nz, _ny > & | sys, |
| int | ny = _ny, |
||
| int | ox = 1, |
||
| int | ou = 2 |
||
| ) |
Define flat outputs for system s with state order ox and control order ou
| sys | system |
| ny | flat output dimension |
| ox | state order |
| ou | control order |
| bool gcop::Flat< T, nx, nu, np, nz, _ny >::Control | ( | Vectorcd & | u, |
| const vector< Vectormd > & | ys | ||
| ) | [virtual] |
Construct state from flat outputs
| u | control |
| ys | a vector of y and its derivatives (y,dy,d2y,...) |
| bool gcop::Flat< T, nx, nu, np, nz, _ny >::State | ( | T & | x, |
| const vector< Vectoryd > & | ys | ||
| ) | [virtual] |
Construct state from flat outputs
| x | state |
| ys | a vector of y and its derivatives (y,dy,d2y,...) |
| int gcop::Flat< T, nx, nu, np, nz, _ny >::ny |
flat output dimension
| int gcop::Flat< T, nx, nu, np, nz, _ny >::ou |
control order
| int gcop::Flat< T, nx, nu, np, nz, _ny >::ox |
state order
| System<T, nx, nu, np, nz>& gcop::Flat< T, nx, nu, np, nz, _ny >::sys |
system
1.7.6.1