Package com.imsl.math
Interface OdeAdamsGear.Function
- All Known Subinterfaces:
OdeAdamsGear.Jacobian
- Enclosing class:
- OdeAdamsGear
public static interface OdeAdamsGear.Function
Public interface for user supplied function to
OdeAdamsGear object.-
Method Summary
Modifier and TypeMethodDescriptiondouble[]f(double t, double[] y) Computes the value of the function \( y^{'} = f(t,y) \) at the given point.
-
Method Details
-
f
double[] f(double t, double[] y) Computes the value of the function \( y^{'} = f(t,y) \) at the given point.- Parameters:
t- adouble, the point at which the function is to be evaluated. (Input)y- adoublearray which contains the dependent variable values. (Input)- Returns:
- a
doublearray of lengthy.lengthwhich contains the value of the function\( \frac{dy}{dt} = y^{'} = f(t,y) \)
. (Output)
-