peakml.math.function
Interface Function

All Known Implementing Classes:
CubicSplineFunction, LinearFunction, LogNormalFunction, PolynomialFunction

public interface Function

General interface for functions, defining the method for retrieving the y-value (result) for a given x-value.


Method Summary
 double getY(double x)
          Calculates the y-value for the given x-value with the function defined here.
 

Method Detail

getY

double getY(double x)
Calculates the y-value for the given x-value with the function defined here.

Parameters:
x - The x-value.
Returns:
The y-value.