Package org.apache.commons.math.analysis
Class BinaryFunction
java.lang.Object
org.apache.commons.math.analysis.BinaryFunction
- All Implemented Interfaces:
BivariateRealFunction
Deprecated.
in 2.2
Base class for
BivariateRealFunction
that can be composed with other functions.- Since:
- 2.1
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BinaryFunction
Deprecated.The + operator method wrapped as aBinaryFunction
.static final BinaryFunction
Deprecated.TheFastMath.atan2
method wrapped as aBinaryFunction
.static final BinaryFunction
Deprecated.The / operator method wrapped as aBinaryFunction
.static final BinaryFunction
Deprecated.The * operator method wrapped as aBinaryFunction
.static final BinaryFunction
Deprecated.TheFastMath.pow
method wrapped as aBinaryFunction
.static final BinaryFunction
Deprecated.The - operator method wrapped as aBinaryFunction
. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfix1stArgument
(double fixedX) Deprecated.Get a composable function by fixing the first argument of the instance.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.
-
Field Details
-
ADD
Deprecated.The + operator method wrapped as aBinaryFunction
. -
SUBTRACT
Deprecated.The - operator method wrapped as aBinaryFunction
. -
MULTIPLY
Deprecated.The * operator method wrapped as aBinaryFunction
. -
DIVIDE
Deprecated.The / operator method wrapped as aBinaryFunction
. -
POW
Deprecated.TheFastMath.pow
method wrapped as aBinaryFunction
. -
ATAN2
Deprecated.TheFastMath.atan2
method wrapped as aBinaryFunction
.
-
-
Constructor Details
-
BinaryFunction
public BinaryFunction()Deprecated.
-
-
Method Details
-
value
Deprecated.Compute the value for the function.- Specified by:
value
in interfaceBivariateRealFunction
- Parameters:
x
- Abscissa for which the function value should be computed.y
- Ordinate for which the function value should be computed.- Returns:
- the value.
- Throws:
FunctionEvaluationException
- if the function evaluation fails.
-
fix1stArgument
Deprecated.Get a composable function by fixing the first argument of the instance.- Parameters:
fixedX
- fixed value of the first argument- Returns:
- a function such that
f.value(y) == value(fixedX, y)
-
fix2ndArgument
Deprecated.Get a composable function by fixing the second argument of the instance.- Parameters:
fixedY
- fixed value of the second argument- Returns:
- a function such that
f.value(x) == value(x, fixedY)
-