Package org.hipparchus.analysis.function
Class Subtract
- java.lang.Object
-
- org.hipparchus.analysis.function.Subtract
-
- All Implemented Interfaces:
BivariateFunction
public class Subtract extends Object implements BivariateFunction
Subtract the second operand from the first.
-
-
Constructor Summary
Constructors Constructor Description Subtract()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
value(double x, double y)
Compute the value for the function.
-
-
-
Method Detail
-
value
public double value(double x, double y)
Compute the value for the function.- Specified by:
value
in interfaceBivariateFunction
- Parameters:
x
- Abscissa for which the function value should be computed.y
- Ordinate for which the function value should be computed.- Returns:
- the value.
-
-