public final class DefaultNamespace extends NamespaceImpl
Math, e.g.
sin(x),
cos(x),
tan(x),
asin(x),
acos(x),
atan(x),
atan2(x,y),
log(x),
exp(x),
pow(x,y),
sqrt(x,y),
abs(x),
min(x,y),
max(x,y),
floor(x),
rad(x) (Math.toRadians(double)),
deg(x,y) (Math.toDegrees(double)).
inf(x,y) (Double.isInfinite(double)),
nan(x,y) (Double.isNaN(double)).
The following functions are not taken from Java Java Math:
log10(x),
exp10(x),
sign(x).
It also provides the fuzzy comparision functions feq(x, y), fneq(x).
| Constructor and Description |
|---|
DefaultNamespace() |
DefaultNamespace(Namespace parent) |
deregisterFunction, deregisterSymbol, getAllFunctions, getAllSymbols, getDefaultNamespace, registerFunction, registerSymbol, resolveFunction, resolveSymbolpublic DefaultNamespace()
public DefaultNamespace(Namespace parent)
Copyright © 2002–2014 Brockmann Consult GmbH. All rights reserved.