-
- All Known Implementing Classes:
LineFunction2D,NormalDistributionFunction2D,PolynomialFunction2D,PowerFunction2D
public interface Function2D
A function of the formy = f(x).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description doublegetValue(double x)Returns the value of the function ('y') for a given input ('x').
-
-
-
Method Detail
-
getValue
double getValue(double x)
Returns the value of the function ('y') for a given input ('x').- Parameters:
x- the x-value.- Returns:
- The function value.
-
-