public abstract class BivariateRealFunction extends java.lang.Object implements RealScalarFunction
Function.EvaluationException| Constructor and Description |
|---|
BivariateRealFunction() |
| Modifier and Type | Method and Description |
|---|---|
int |
dimensionOfDomain()
Get the number of variables the function has.
|
int |
dimensionOfRange()
Get the dimension of the range space of the function.
|
abstract double |
evaluate(double x1,
double x2)
Evaluate y = f(x1,x2).
|
java.lang.Double |
evaluate(Vector x)
Evaluate the function f at x, where x is from the domain.
|
public int dimensionOfDomain()
FunctiondimensionOfDomain in interface Function<Vector,java.lang.Double>public int dimensionOfRange()
FunctiondimensionOfRange in interface Function<Vector,java.lang.Double>public java.lang.Double evaluate(Vector x)
Functionpublic abstract double evaluate(double x1,
double x2)
x1 - x1x2 - x2