Class Subtract
java.lang.Object
org.apache.commons.math4.analysis.function.Subtract
- All Implemented Interfaces:
BivariateFunction
public class Subtract extends java.lang.Object implements BivariateFunction
Subtract the second operand from the first.
- Since:
- 3.0
-
Constructor Details
-
Subtract
public Subtract()
-
-
Method Details
-
value
public double value(double x, double y)Compute the value for the function.- Specified by:
valuein 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.
-