@Deprecated public abstract class BinaryFunction extends java.lang.Object implements BivariateRealFunction
BivariateRealFunction that can be composed with other functions.| Modifier and Type | Field and Description |
|---|---|
static BinaryFunction |
ADD
Deprecated.
The + operator method wrapped as a
BinaryFunction. |
static BinaryFunction |
ATAN2
Deprecated.
The
FastMath.atan2 method wrapped as a BinaryFunction. |
static BinaryFunction |
DIVIDE
Deprecated.
The / operator method wrapped as a
BinaryFunction. |
static BinaryFunction |
MULTIPLY
Deprecated.
The * operator method wrapped as a
BinaryFunction. |
static BinaryFunction |
POW
Deprecated.
The
FastMath.pow method wrapped as a BinaryFunction. |
static BinaryFunction |
SUBTRACT
Deprecated.
The - operator method wrapped as a
BinaryFunction. |
| Constructor and Description |
|---|
BinaryFunction()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
ComposableFunction |
fix1stArgument(double fixedX)
Deprecated.
Get a composable function by fixing the first argument of the instance.
|
ComposableFunction |
fix2ndArgument(double fixedY)
Deprecated.
Get a composable function by fixing the second argument of the instance.
|
abstract double |
value(double x,
double y)
Deprecated.
Compute the value for the function.
|
public static final BinaryFunction ADD
BinaryFunction.public static final BinaryFunction SUBTRACT
BinaryFunction.public static final BinaryFunction MULTIPLY
BinaryFunction.public static final BinaryFunction DIVIDE
BinaryFunction.public static final BinaryFunction POW
FastMath.pow method wrapped as a BinaryFunction.public static final BinaryFunction ATAN2
FastMath.atan2 method wrapped as a BinaryFunction.public abstract double value(double x,
double y)
throws FunctionEvaluationException
value in interface BivariateRealFunctionx - Abscissa for which the function value should be computed.y - Ordinate for which the function value should be computed.FunctionEvaluationException - if the function evaluation fails.public ComposableFunction fix1stArgument(double fixedX)
fixedX - fixed value of the first argumentf.value(y) == value(fixedX, y)public ComposableFunction fix2ndArgument(double fixedY)
fixedY - fixed value of the second argumentf.value(x) == value(x, fixedY)Copyright © 2010 - 2023 Adobe. All Rights Reserved