|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectca.nengo.dynamics.impl.LTISystem
ca.nengo.dynamics.impl.SimpleLTISystem
public class SimpleLTISystem
A linear time-invariant system with the following properties:
| Constructor Summary | |
|---|---|
SimpleLTISystem(float[] A,
float[][] B,
float[][] C,
float[] x0,
Units[] outputUnits)
See also LTISystem. |
|
SimpleLTISystem(int stateDim,
int inputDim,
int outputDim)
Creates an appropriately-dimensioned system with all-zero matrices, so that elements can be changed later. |
|
| Method Summary | |
|---|---|
float[] |
f(float t,
float[] u)
The dynamic equation. |
float[] |
g(float t,
float[] u)
The output equation. |
void |
setA(float[][] newA)
|
void |
setB(float[][] newB)
|
void |
setC(float[][] newC)
|
| Methods inherited from class ca.nengo.dynamics.impl.LTISystem |
|---|
clone, getA, getA, getB, getB, getC, getC, getD, getD, getInputDimension, getOutputDimension, getOutputUnits, getState, getStateDimension, setD, setInputDimension, setOutputDimension, setOutputUnits, setState, setStateDimension |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleLTISystem(float[] A,
float[][] B,
float[][] C,
float[] x0,
Units[] outputUnits)
A - Diagonal entries of dynamics matrixB - Input matrixC - Output matrixx0 - Initial stateoutputUnits - Units in which each dimension of the output are expressed
public SimpleLTISystem(int stateDim,
int inputDim,
int outputDim)
stateDim - Number of state variablesinputDim - Number of inputsoutputDim - Number of outputs| Method Detail |
|---|
public float[] f(float t,
float[] u)
DynamicalSystem
f in interface DynamicalSystemf in class LTISystemt - Timeu - Input vector
DynamicalSystem.f(float, float[])
public float[] g(float t,
float[] u)
DynamicalSystem
g in interface DynamicalSystemg in class LTISystemt - Timeu - Input vector
DynamicalSystem.g(float, float[])public void setA(float[][] newA)
setA in class LTISystempublic void setB(float[][] newB)
setB in class LTISystempublic void setC(float[][] newC)
setC in class LTISystem
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||