Class PrimitiveFunction
Only the primitive parameter (double) methods are actually implemented. The methods with the reference type
parameters (Double) should delegate to the primitive methods (and do nothing else). The various
implementations should delegate as much as possible to
Math and/or built-in Java
operators.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic final classstatic interface -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabs()acos()acosh()add()+asin()asinh()atan()atan2()atanh()cbrt()ceil()cos()cosh()divide()/enforce(NumberContext context) exp()expm1()floor()static PrimitiveFunctiongetSet()hypot()invert()log()log10()log1p()logistic()Standard logistic sigmoid functionlogit()max()min()multiply()*negate()static PrimitiveFunction.Nullarynullary(double value) pow()power()rint()root()scale()signum()sin()sinh()sqrt()sqrt1px2()subtract()-tan()tanh()value()
-
Field Details
-
SET
-
-
Constructor Details
-
PrimitiveFunction
private PrimitiveFunction()
-
-
Method Details
-
getSet
-
nullary
-
abs
- Specified by:
absin classFunctionSet<Double>- See Also:
-
acos
- Specified by:
acosin classFunctionSet<Double>- See Also:
-
acosh
- Specified by:
acoshin classFunctionSet<Double>
-
add
-
aggregator
- Specified by:
aggregatorin classFunctionSet<Double>
-
asin
- Specified by:
asinin classFunctionSet<Double>- See Also:
-
asinh
- Specified by:
asinhin classFunctionSet<Double>
-
atan
- Specified by:
atanin classFunctionSet<Double>- See Also:
-
atan2
- Specified by:
atan2in classFunctionSet<Double>- See Also:
-
atanh
- Specified by:
atanhin classFunctionSet<Double>
-
cardinality
- Specified by:
cardinalityin classFunctionSet<Double>
-
cbrt
- Specified by:
cbrtin classFunctionSet<Double>- See Also:
-
ceil
- Specified by:
ceilin classFunctionSet<Double>- See Also:
-
conjugate
- Specified by:
conjugatein classFunctionSet<Double>
-
cos
- Specified by:
cosin classFunctionSet<Double>- See Also:
-
cosh
- Specified by:
coshin classFunctionSet<Double>- See Also:
-
divide
-
enforce
- Specified by:
enforcein classFunctionSet<Double>
-
exp
- Specified by:
expin classFunctionSet<Double>- See Also:
-
expm1
- Specified by:
expm1in classFunctionSet<Double>- See Also:
-
floor
- Specified by:
floorin classFunctionSet<Double>- See Also:
-
hypot
- Specified by:
hypotin classFunctionSet<Double>- See Also:
-
invert
- Specified by:
invertin classFunctionSet<Double>
-
log
- Specified by:
login classFunctionSet<Double>- See Also:
-
log10
- Specified by:
log10in classFunctionSet<Double>- See Also:
-
log1p
- Specified by:
log1pin classFunctionSet<Double>- See Also:
-
logistic
Description copied from class:FunctionSetStandard logistic sigmoid function- Specified by:
logisticin classFunctionSet<Double>
-
logit
- Specified by:
logitin classFunctionSet<Double>
-
max
- Specified by:
maxin classFunctionSet<Double>- See Also:
-
min
- Specified by:
minin classFunctionSet<Double>- See Also:
-
multiply
-
negate
- Specified by:
negatein classFunctionSet<Double>
-
pow
- Specified by:
powin classFunctionSet<Double>- See Also:
-
power
- Specified by:
powerin classFunctionSet<Double>
-
rint
- Specified by:
rintin classFunctionSet<Double>- See Also:
-
root
- Specified by:
rootin classFunctionSet<Double>
-
scale
- Specified by:
scalein classFunctionSet<Double>
-
signum
- Specified by:
signumin classFunctionSet<Double>- See Also:
-
sin
- Specified by:
sinin classFunctionSet<Double>- See Also:
-
sinh
- Specified by:
sinhin classFunctionSet<Double>- See Also:
-
sqrt
- Specified by:
sqrtin classFunctionSet<Double>- See Also:
-
sqrt1px2
- Specified by:
sqrt1px2in classFunctionSet<Double>- Returns:
- sqrt(1.0 + x2)
-
subtract
-
tan
- Specified by:
tanin classFunctionSet<Double>- See Also:
-
tanh
- Specified by:
tanhin classFunctionSet<Double>- See Also:
-
value
- Specified by:
valuein classFunctionSet<Double>
-