org.apache.commons.math.analysis
Interface UnivariateRealFunction
- All Known Implementing Classes:
- CubicSplineFunction, PolynomialFunction
- public interface UnivariateRealFunction
Provide an interface univariate real functions.
The object may held temporary data which is shared between calculations
of the value and the derivatives for the same argument. It is not guaranteed
that derivatives are evaluated after the value, the evaluation algorithm
should throw an InvalidStateException if it can't cope with this.
- Version:
- $Revision: 1.9 $ $Date: 2003/11/15 18:44:52 $
Method Summary |
double |
value(double x)
Compute the value for the function. |
value
public double value(double x)
throws MathException
- Compute the value for the function.
- Parameters:
x
- the point for which the function value should be computed
- Returns:
- the value
- Throws:
MathException
- if the function couldn't be computed due to
missing additional data or other environmental problems.
Copyright © 2003-2004 Apache Software Foundation. All Rights Reserved.