de.grogra.numeric
Interface ODE

All Known Implementing Classes:
GraphODE

public interface ODE

This interface is used to describe an initial value problem. The problem is given by an initial state y0 at an initial time t0, so that y0 = y(t0), and a rate function y'(t) = f(t, y).

Author:
Reinhard Hemmerling

Method Summary
 void getRate(double[] out, double t, double[] state)
          Calculate the rate (derivative of state) of the system for a given time and state.
 

Method Detail

getRate

void getRate(double[] out,
             double t,
             double[] state)
Calculate the rate (derivative of state) of the system for a given time and state.

Parameters:
out - provides memory for storing the rate
t - current time
state - current state