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 Type
    Method
    Description
    double[]
    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 - a double, the point at which the function is to be evaluated. (Input)
      y - a double array which contains the dependent variable values. (Input)
      Returns:
      a double array of length y.length which contains the value of the function

      \( \frac{dy}{dt} = y^{'} = f(t,y) \)

      . (Output)