Interface Function2D

All Known Implementing Classes:
LineFunction2D, NormalDistributionFunction2D, PowerFunction2D

public interface Function2D
A function of the form y = f(x).
  • Method Summary

    Modifier and Type Method Description
    double getValue​(double x)
    Returns the value of the function ('y') for a given input ('x').
  • Method Details

    • getValue

      double getValue​(double x)
      Returns the value of the function ('y') for a given input ('x').
      Parameters:
      x - the x-value.
      Returns:
      the function value.