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

    Modifier and Type Method Description
    float get​(float x)
    Gets the y value of a function.
    java.lang.String toString()
    Gets the standard form of the function.
  • 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 class java.lang.Object
      Returns:
      string standard form of the function