|
|
| LinearSystem () |
| | Default constructor.
|
| |
| | LinearSystem (const Vector &num, const Vector &den, double dt) |
| | This constructs a SISO system, on the basis of continuous time transfer function.
|
| |
|
| LinearSystem (const LinearSystem &) |
| | Copy constructor.
|
| |
| | LinearSystem (const Matrix &A, const Matrix &B, const Matrix &C, const Matrix &D, double dt) |
| | This constructs a system, on the basis of a continuous time state space system.
|
| |
| | LinearSystem (const Matrix &phi, const Matrix &psi, const Matrix &C, const Matrix &D) |
| | This constructs a system, on the basis of a discrete time state space system.
|
| |
|
virtual | ~LinearSystem () |
| | Destructor.
|
| |
|
LinearSystem & | operator= (const LinearSystem &o) |
| | Assignment of one system to another.
|
| |
| virtual void | acceptState (const Vector &x_new) |
| | Accept a new state.
|
| |
| virtual const Vector & | step (const Vector &u) |
| | Calculate a single time step, return the output vector.
|
| |
| virtual const Vector & | step (double u) |
| | Calculate a single time step, return the output vector.
|
| |
| virtual void | reset () |
| | Reset the state to 0;.
|
| |
|
void | createFromNumDen (const Vector &num, const Vector &den, double dt) |
| | Create a system from numerator, denominator input.
|
| |
|
void | createFromABCD (const Matrix &A, const Matrix &B, const Matrix &C, const Matrix &D, double dt) |
| | Create from matrices.
|
| |
|
void | createFromPhiPsiCD (const Matrix &phi, const Matrix &psi, const Matrix &C, const Matrix &D) |
| | Create from matrices, discrete.
|
| |
|
const Vector & | getY () const |
| | Obtain the output vector.
|
| |
|
const Vector & | getX () const |
| | Obtain the state vector.
|
| |
|
Vector & | getX () |
| | Obtain the state vector for modification.
|
| |
|
const Matrix & | getPhi () const |
| | Additional output, transition.
|
| |
|
const Matrix & | getPsi () const |
| | Input matrix discrete system.
|
| |
|
const Matrix & | getC () const |
| | Output matrix.
|
| |
|
const Matrix & | getD () const |
| | Feedthrough matrix.
|
| |
This class creates a linear time-invariant (control) system.
The system is transformed to state-space form if necessary, and discretized with the parameter dt.