ca.nengo.dynamics.impl
Class RK45IntegratorTest.VanderPol

java.lang.Object
  extended by ca.nengo.dynamics.impl.AbstractDynamicalSystem
      extended by ca.nengo.dynamics.impl.RK45IntegratorTest.VanderPol
All Implemented Interfaces:
DynamicalSystem, java.io.Serializable, java.lang.Cloneable
Enclosing class:
RK45IntegratorTest

public static class RK45IntegratorTest.VanderPol
extends AbstractDynamicalSystem

See Also:
Serialized Form

Constructor Summary
RK45IntegratorTest.VanderPol()
           
RK45IntegratorTest.VanderPol(float[] state)
           
 
Method Summary
 float[] f(float t, float[] u)
          The dynamic equation.
 float[] g(float t, float[] u)
          The output equation.
 int getInputDimension()
           
 int getOutputDimension()
           
 
Methods inherited from class ca.nengo.dynamics.impl.AbstractDynamicalSystem
clone, getOutputUnits, getState, setState
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RK45IntegratorTest.VanderPol

public RK45IntegratorTest.VanderPol(float[] state)

RK45IntegratorTest.VanderPol

public RK45IntegratorTest.VanderPol()
Method Detail

f

public float[] f(float t,
                 float[] u)
Description copied from interface: DynamicalSystem
The dynamic equation.

Specified by:
f in interface DynamicalSystem
Specified by:
f in class AbstractDynamicalSystem
Parameters:
t - Time
u - Input vector
Returns:
1st derivative of state vector
See Also:
DynamicalSystem.f(float, float[])

g

public float[] g(float t,
                 float[] u)
Description copied from interface: DynamicalSystem
The output equation.

Specified by:
g in interface DynamicalSystem
Specified by:
g in class AbstractDynamicalSystem
Parameters:
t - Time
u - Input vector
Returns:
Output vector
See Also:
DynamicalSystem.g(float, float[])

getInputDimension

public int getInputDimension()
Specified by:
getInputDimension in interface DynamicalSystem
Specified by:
getInputDimension in class AbstractDynamicalSystem
Returns:
Dimension of input vector
See Also:
DynamicalSystem.getInputDimension()

getOutputDimension

public int getOutputDimension()
Specified by:
getOutputDimension in interface DynamicalSystem
Specified by:
getOutputDimension in class AbstractDynamicalSystem
Returns:
Dimension of output vector
See Also:
DynamicalSystem.getOutputDimension()