nl.tudelft.simulation.jstats.ode
Interface DifferentialEquationInterface

All Known Implementing Classes:
DifferentialEquation

public interface DifferentialEquationInterface

An interface for the DifferentialEquation.

(c) copyright 2003 Delft University of Technology , the Netherlands.
See for project information www.simulation.tudelft.nl
License of use: General Public License (GPL) , no warranty

Since:
1.4
Version:
1.2 Apr 20, 2004
Author:
Peter Jacobs

Method Summary
 double[] dy(double x, double[] y)
          returns dy as a function of x,y
 void initialize(double x, double[] y)
          initializes the differential equation
 double[] y(double x)
          returns y as a function of x
 

Method Detail

initialize

public void initialize(double x,
                       double[] y)
initializes the differential equation

Parameters:
x - the x-value
y - the y-value

y

public double[] y(double x)
returns y as a function of x

Parameters:
x - the x-value
Returns:
y

dy

public double[] dy(double x,
                   double[] y)
returns dy as a function of x,y

Parameters:
x - the x-value
y - the y-value
Returns:
dy/dx as a function of x,y


Copyright © 2002-2004 Delft University of Technology, the Netherlands. All Rights Reserved.