Interface ODEIntegratable

All Known Implementing Classes:
Tests

public abstract interface ODEIntegratable

interface ODEIntegratable - the means by which an ODEIntegrator computes ODEs.

Copyright (c) 1999 Stanford University. You may distribute this source code for non-commercial purposes only. You may study, modify, and use this source code for any purpose, as long as this notice is retained. Note that this example is provided "as is", WITHOUT WARRANTY of any kind either expressed or implied.


Method Summary
 void ode(double x, double[] y, double[] dydx)
          ode - Following conventions of Chapter 16 of Numerical Recipes in C, a generic ODE is expressed as dy_i(x)/dx = f_i(x,y_1,...,y_N), i=1,...,N

Reference: Press, William H.
 

Method Detail

ode

public void ode(double x,
                double[] y,
                double[] dydx)
ode - Following conventions of Chapter 16 of Numerical Recipes in C, a generic ODE is expressed as dy_i(x)/dx = f_i(x,y_1,...,y_N), i=1,...,N

Reference: Press, William H. and Teukolsky, Saul A. and Vetterling, William T. and Flannery, Brian P.. Numerical Recipes in C: the art of scientific computing - 2nd Ed., Cambridge University Press, 1992.
Parameters:
x - independent variable (e.g. time)
y - dependent variables (e.g. continuous state space vector)
dydx - return values