All Packages Class Hierarchy This Package Previous Next Index
Interface jnt.functions.UnivariateFunction
- public interface UnivariateFunction
A public interface for a function of one real variable. This class is used
to define functions which can be passed to a method which acts on a general
function of one variable such as a zero-finder or a quadrature program. In
particular, the eval method of the interface is used to evaluate the
function for a given real argument.
To use the interface, create a class which implements it and define the
eval method.
- Version:
- 12 November 1997
- Author:
- Ronald F. Boisvert, NIST
-
eval(double)
- Returns the value of the function which the class defines.
eval
public abstract double eval(double x)
- Returns the value of the function which the class defines.
All Packages Class Hierarchy This Package Previous Next Index