Class Equation

java.lang.Object
velo.ladaalpha.fields.math.Equation

public class Equation extends Object
The Class Equation.
Author:
velo
  • Constructor Details

    • Equation

      public Equation()
  • Method Details

    • compute

      public double compute(double input)
      Compute.
      Parameters:
      input - the input
      Returns:
      the double
    • computeInverse

      public double computeInverse(double x)
      Compute inverse.
      Parameters:
      x - the x
      Returns:
      the double
    • toString

      public String toString()
      To string.
      Overrides:
      toString in class Object
      Returns:
      the string
    • equationFromString

      public Equation equationFromString(String eq)
      Equation from string.
      Parameters:
      eq - the eq
      Returns:
      the equation