D
- the domain of a functionR
- the range of a functionpublic interface Function<D,R>
RealScalarFunction
), but they can also be elements from any given sets.Modifier and Type | Interface and Description |
---|---|
static class |
Function.EvaluationException
This is the
RuntimeException thrown when it fails to evaluate an expression. |
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.
|
R |
evaluate(D x)
Evaluate the function f at x, where x is from the domain.
|
R evaluate(D x)
x
- xint dimensionOfDomain()
int dimensionOfRange()
Copyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.