org.apache.commons.math.analysis
Interface UnivariateRealFunction

All Known Subinterfaces:
DifferentiableUnivariateRealFunction
All Known Implementing Classes:
PolynomialFunction, PolynomialFunctionLagrangeForm, PolynomialFunctionNewtonForm, PolynomialSplineFunction

public interface UnivariateRealFunction

An interface representing a univariate real function.

Version:
$Revision: 480440 $ $Date: 2006-11-29 00:14:12 -0700 (Wed, 29 Nov 2006) $

Method Summary
 double value(double x)
          Compute the value for the function.
 

Method Detail

value

double value(double x)
             throws FunctionEvaluationException
Compute the value for the function.

Parameters:
x - the point for which the function value should be computed
Returns:
the value
Throws:
FunctionEvaluationException - if the function evaluation fails