edu.rit.numeric
Interface Function
-
- All Known Implementing Classes:
- Interpolation
public interface FunctionInterface Function specifies the interface for a real-valued function of a real-valued argument (type double).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description doublef(double x)Returns the value of this function evaluated at the given argument.
-
-
-
Method Detail
-
f
double f(double x)
Returns the value of this function evaluated at the given argument.- Parameters:
x- Argument.- Returns:
- f(x).
- Throws:
DomainException- (unchecked exception) Thrown if the argument x is outside the allowed set of values for this function.RangeException- (unchecked exception) Thrown if f(x) is outside the range of type double.
-
-
DMelt 3.0 © DataMelt by jWork.ORG