Interface BivariateFunction
-
- All Superinterfaces:
DoubleBinaryOperator
- All Known Implementing Classes:
Add,Atan2,BicubicInterpolatingFunction,Divide,Max,Min,Multiply,PiecewiseBicubicSplineInterpolatingFunction,Pow,Subtract
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface BivariateFunction extends DoubleBinaryOperator
An interface representing a bivariate real function.- Since:
- 2.1
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default doubleapplyAsDouble(double x, double y)doublevalue(double x, double y)Compute the value for the function.
-
-
-
Method Detail
-
value
double value(double x, double y)
Compute the value for the function.- Parameters:
x- Abscissa for which the function value should be computed.y- Ordinate for which the function value should be computed.- Returns:
- the value.
-
applyAsDouble
default double applyAsDouble(double x, double y)
- Specified by:
applyAsDoublein interfaceDoubleBinaryOperator
-
-