Interface Function

    • Method Summary

      Modifier and Type Method and Description
      double evaluate(double x)
      Evaluates f(x).
      double[] evaluateInverse(double y)
      Returns all the x-values for the equation f(x) = y.
    • Method Detail

      • evaluate

        double evaluate(double x)
        Evaluates f(x).
        Parameters:
        x - the input for this function.
        Returns:
        the output of this function.
      • evaluateInverse

        double[] evaluateInverse(double y)
        Returns all the x-values for the equation f(x) = y.
        Parameters:
        y - a possible output of this function.
        Returns:
        all the possible inputs that would map to the argument.