org.apache.commons.math.analysis
Interface UnivariateRealFunction

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

public interface UnivariateRealFunction

An interface representing a univariate real function.

Version:
$Revision: 1.14 $ $Date: 2004/07/17 21:19:39 $

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

Method Detail

value

public 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


Copyright © 2003-2004 The Apache Software Foundation. All Rights Reserved.