- All Known Implementing Classes:
LineFunction2D
,NormalDistributionFunction2D
,PolynomialFunction2D
,PowerFunction2D
public interface Function2D
A function of the form
y = f(x)
.-
Method Summary
Modifier and TypeMethodDescriptiondouble
getValue
(double x) Returns the value of the function ('y') for a given input ('x').
-
Method Details
-
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.
-