edu.rit.numeric
Interface Function

All Known Implementing Classes:
Interpolation

public interface Function

Interface Function specifies the interface for a real-valued function of a real-valued argument (type double).


Method Summary
 double f(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.


Copyright © 2005-2012 by Alan Kaminsky. All rights reserved. Send comments to ark­@­cs.rit.edu.