Package com.imsl.math

Interface NumericalDerivatives.Function

All Known Subinterfaces:
NumericalDerivatives.Jacobian
Enclosing class:
NumericalDerivatives

public static interface NumericalDerivatives.Function
Public interface function.
  • Method Summary

    Modifier and Type
    Method
    Description
    double[]
    f(int varIndex, double[] y)
    Returns the equations evaluated at the point y.
  • Method Details

    • f

      double[] f(int varIndex, double[] y)
      Returns the equations evaluated at the point y. If the user does not override the evaluateF method, then f is also used to compute the function values at the current independent variable values \(y_e\).
      Parameters:
      varIndex - an int indicating the index of the variable to perturb. varIndex = 1 indicates variable 1 in y[0].
      y - a double array of length n, the point at which the Jacobian is to be evaluated.
      Returns:
      a double array of length m. The equations evaluated at the point y.