nl.tudelft.simulation.jstats.ode
Interface DifferentialEquationInterface

All Known Implementing Classes:
DifferentialEquation

public interface DifferentialEquationInterface

An interface for the DifferentialEquation.

(c) copyright 2002-2005 Delft University of Technology , the Netherlands.
See for project information www.simulation.tudelft.nl
License of use: Lesser General Public License (LGPL) , no warranty.

Since:
1.4
Version:
$Revision: 1.1 $ $Date: 2007/01/06 13:25:44 $
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

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

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

y

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

Parameters:
x - the x-value
Returns:
y

dy

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-2011 Delft University of Technology, the Netherlands. All Rights Reserved.