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 TypeMethodDescriptiondouble[]f(int varIndex, double[] y) Returns the equations evaluated at the pointy.
-
Method Details
-
f
double[] f(int varIndex, double[] y) Returns the equations evaluated at the pointy. If the user does not override theevaluateFmethod, thenfis also used to compute the function values at the current independent variable values \(y_e\).- Parameters:
varIndex- anintindicating the index of the variable to perturb.varIndex= 1 indicates variable 1 iny[0].y- adoublearray of length n, the point at which the Jacobian is to be evaluated.- Returns:
- a
doublearray of length m. The equations evaluated at the pointy.
-