|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.math.analysis.BinaryFunction
@Deprecated public abstract class BinaryFunction
Base class for BivariateRealFunction
that can be composed with other functions.
Field Summary | |
---|---|
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 Summary | |
---|---|
BinaryFunction()
Deprecated. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
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
.
Constructor Detail |
---|
public BinaryFunction()
Method Detail |
---|
public abstract double value(double x, double y) throws FunctionEvaluationException
value
in interface BivariateRealFunction
x
- 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 argument
f.value(y) == value(fixedX, y)
public ComposableFunction fix2ndArgument(double fixedY)
fixedY
- fixed value of the second argument
f.value(x) == value(x, fixedY)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |