Package io.github.derivasians.calculatte
Interface Function
public interface Function
The Function interface for all other functions to be based off of.
- Version:
- 0.2.0
- Author:
- Matthew Okashita
-
Method Summary
Modifier and TypeMethodDescriptiondouble
f(double x)
Calculates the y-value for a given x-value of this function.
-
Method Details
-
f
double f(double x)Calculates the y-value for a given x-value of this function.- Parameters:
x
- The x-value to find the y-value for.- Returns:
- The y-value for the given x-value.
-