Package com.imsl.math
Interface ZerosFunction.Function
- Enclosing class:
- ZerosFunction
public static interface ZerosFunction.Function
Public interface for the user supplied function to
ZerosFunction.
The user supplied function, f(x), must return valid results for all values in the specified interval. If no interval is given, the user-supplied function must return valid results for all real numbers.
-
Method Summary
Modifier and TypeMethodDescriptiondoublef(double x) Returns the value of the function at the given point.
-
Method Details
-
f
double f(double x) Returns the value of the function at the given point.- Parameters:
x- adoublespecifying the point at which the function is to be evaluated- Returns:
- a
doublecontaining the value of the function at x
-