Package org.ojalgo.function
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 interface
static interface
static interface
static interface
static interface
static final class
static 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 PrimitiveFunction
getSet()
hypot()
invert()
log()
log10()
log1p()
logistic()
Standard logistic sigmoid functionlogit()
max()
min()
multiply()
*negate()
static PrimitiveFunction.Nullary
nullary
(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:
abs
in classFunctionSet<Double>
- See Also:
-
acos
- Specified by:
acos
in classFunctionSet<Double>
- See Also:
-
acosh
- Specified by:
acosh
in classFunctionSet<Double>
-
add
Description copied from class:FunctionSet
+- Specified by:
add
in classFunctionSet<Double>
-
aggregator
- Specified by:
aggregator
in classFunctionSet<Double>
-
asin
- Specified by:
asin
in classFunctionSet<Double>
- See Also:
-
asinh
- Specified by:
asinh
in classFunctionSet<Double>
-
atan
- Specified by:
atan
in classFunctionSet<Double>
- See Also:
-
atan2
- Specified by:
atan2
in classFunctionSet<Double>
- See Also:
-
atanh
- Specified by:
atanh
in classFunctionSet<Double>
-
cardinality
- Specified by:
cardinality
in classFunctionSet<Double>
-
cbrt
- Specified by:
cbrt
in classFunctionSet<Double>
- See Also:
-
ceil
- Specified by:
ceil
in classFunctionSet<Double>
- See Also:
-
conjugate
- Specified by:
conjugate
in classFunctionSet<Double>
-
cos
- Specified by:
cos
in classFunctionSet<Double>
- See Also:
-
cosh
- Specified by:
cosh
in classFunctionSet<Double>
- See Also:
-
divide
Description copied from class:FunctionSet
/- Specified by:
divide
in classFunctionSet<Double>
-
enforce
- Specified by:
enforce
in classFunctionSet<Double>
-
exp
- Specified by:
exp
in classFunctionSet<Double>
- See Also:
-
expm1
- Specified by:
expm1
in classFunctionSet<Double>
- See Also:
-
floor
- Specified by:
floor
in classFunctionSet<Double>
- See Also:
-
hypot
- Specified by:
hypot
in classFunctionSet<Double>
- See Also:
-
invert
- Specified by:
invert
in classFunctionSet<Double>
-
log
- Specified by:
log
in classFunctionSet<Double>
- See Also:
-
log10
- Specified by:
log10
in classFunctionSet<Double>
- See Also:
-
log1p
- Specified by:
log1p
in classFunctionSet<Double>
- See Also:
-
logistic
Description copied from class:FunctionSet
Standard logistic sigmoid function- Specified by:
logistic
in classFunctionSet<Double>
-
logit
- Specified by:
logit
in classFunctionSet<Double>
-
max
- Specified by:
max
in classFunctionSet<Double>
- See Also:
-
min
- Specified by:
min
in classFunctionSet<Double>
- See Also:
-
multiply
Description copied from class:FunctionSet
*- Specified by:
multiply
in classFunctionSet<Double>
-
negate
- Specified by:
negate
in classFunctionSet<Double>
-
pow
- Specified by:
pow
in classFunctionSet<Double>
- See Also:
-
power
- Specified by:
power
in classFunctionSet<Double>
-
rint
- Specified by:
rint
in classFunctionSet<Double>
- See Also:
-
root
- Specified by:
root
in classFunctionSet<Double>
-
scale
- Specified by:
scale
in classFunctionSet<Double>
-
signum
- Specified by:
signum
in classFunctionSet<Double>
- See Also:
-
sin
- Specified by:
sin
in classFunctionSet<Double>
- See Also:
-
sinh
- Specified by:
sinh
in classFunctionSet<Double>
- See Also:
-
sqrt
- Specified by:
sqrt
in classFunctionSet<Double>
- See Also:
-
sqrt1px2
- Specified by:
sqrt1px2
in classFunctionSet<Double>
- Returns:
- sqrt(1.0 + x2)
-
subtract
Description copied from class:FunctionSet
-- Specified by:
subtract
in classFunctionSet<Double>
-
tan
- Specified by:
tan
in classFunctionSet<Double>
- See Also:
-
tanh
- Specified by:
tanh
in classFunctionSet<Double>
- See Also:
-
value
- Specified by:
value
in classFunctionSet<Double>
-