Interface Equation
- All Known Implementing Classes:
LinearEquation
,QuadraticEquation
public interface Equation
- Since:
- 3/30/21
Interface for any Equation class stemming in Bison.
- Author:
- aidano-7
-
Method Summary
-
Method Details
-
get
float get(float x)Gets the y value of a function.- Parameters:
x
- the x value to get- Returns:
- y the y value of the function
-
toString
java.lang.String toString()Gets the standard form of the function.- Overrides:
toString
in classjava.lang.Object
- Returns:
- string standard form of the function
-