java.lang.Object
org.hipparchus.analysis.function.Add
All Implemented Interfaces:
BivariateFunction

public class Add extends Object implements BivariateFunction
Add the two operands.
  • Constructor Details

    • Add

      public Add()
      Empty constructor.

      This constructor is not strictly necessary, but it prevents spurious javadoc warnings with JDK 18 and later.

      Since:
      3.0
  • Method Details

    • value

      public double value(double x, double y)
      Compute the value for the function.
      Specified by:
      value in interface BivariateFunction
      Parameters:
      x - Abscissa for which the function value should be computed.
      y - Ordinate for which the function value should be computed.
      Returns:
      the value.