Uses of Class
org.apache.commons.math3.util.Decimal64
Packages that use Decimal64
Package
Description
Convenience routines and common data structures used throughout the commons-math library.
-
Uses of Decimal64 in org.apache.commons.math3.util
Fields in org.apache.commons.math3.util declared as Decimal64Modifier and TypeFieldDescriptionstatic final Decimal64
Decimal64.NAN
The constant value ofDouble.NaN
as aDecimal64
.static final Decimal64
Decimal64.NEGATIVE_INFINITY
The constant value ofDouble.NEGATIVE_INFINITY
as aDecimal64
.static final Decimal64
Decimal64.ONE
The constant value of1d
as aDecimal64
.static final Decimal64
Decimal64.POSITIVE_INFINITY
The constant value ofDouble.POSITIVE_INFINITY
as aDecimal64
.static final Decimal64
Decimal64.ZERO
The constant value of0d
as aDecimal64
.Methods in org.apache.commons.math3.util that return Decimal64Modifier and TypeMethodDescriptionDecimal64.abs()
absolute value.Decimal64.acos()
Arc cosine operation.Decimal64.acosh()
Inverse hyperbolic cosine operation.Decimal64.add
(double a) '+' operator.Compute this + a.Decimal64.asin()
Arc sine operation.Decimal64.asinh()
Inverse hyperbolic sine operation.Decimal64.atan()
Arc tangent operation.Two arguments arc tangent operation.Decimal64.atanh()
Inverse hyperbolic tangent operation.Decimal64.cbrt()
Cubic root.Decimal64.ceil()
Get the smallest whole number larger than instance.Decimal64.copySign
(double sign) Returns the instance with the sign of the argument.Returns the instance with the sign of the argument.Decimal64.cos()
Cosine operation.Decimal64.cosh()
Hyperbolic cosine operation.Decimal64.divide
(double a) '÷' operator.Compute this ÷ a.Decimal64.exp()
Exponential.Decimal64.expm1()
Exponential minus 1.Decimal64.floor()
Get the largest whole number smaller than instance.Decimal64Field.getOne()
Get the multiplicative identity of the field.Decimal64Field.getZero()
Get the additive identity of the field.Returns the hypotenuse of a triangle with sidesthis
andy
- sqrt(this2 +y2) avoiding intermediate overflow or underflow.Decimal64.linearCombination
(double[] a, Decimal64[] b) Compute a linear combination.Decimal64.linearCombination
(double a1, Decimal64 b1, double a2, Decimal64 b2) Compute a linear combination.Decimal64.linearCombination
(double a1, Decimal64 b1, double a2, Decimal64 b2, double a3, Decimal64 b3) Compute a linear combination.Decimal64.linearCombination
(double a1, Decimal64 b1, double a2, Decimal64 b2, double a3, Decimal64 b3, double a4, Decimal64 b4) Compute a linear combination.Decimal64.linearCombination
(Decimal64[] a, Decimal64[] b) Compute a linear combination.Decimal64.linearCombination
(Decimal64 a1, Decimal64 b1, Decimal64 a2, Decimal64 b2) Compute a linear combination.Decimal64.linearCombination
(Decimal64 a1, Decimal64 b1, Decimal64 a2, Decimal64 b2, Decimal64 a3, Decimal64 b3) Compute a linear combination.Decimal64.linearCombination
(Decimal64 a1, Decimal64 b1, Decimal64 a2, Decimal64 b2, Decimal64 a3, Decimal64 b3, Decimal64 a4, Decimal64 b4) Compute a linear combination.Decimal64.log()
Natural logarithm.Decimal64.log10()
Base 10 logarithm.Decimal64.log1p()
Shifted natural logarithm.Decimal64.multiply
(double a) '×' operator.Decimal64.multiply
(int n) Compute n × this.Compute this × a.Decimal64.negate()
Returns the additive inverse ofthis
element.Decimal64.pow
(double p) Power operation.Decimal64.pow
(int n) Integer power operation.Power operation.Decimal64.reciprocal()
Returns the multiplicative inverse ofthis
element.Decimal64.remainder
(double a) IEEE remainder operator.IEEE remainder operator.Decimal64.rint()
Get the whole number that is the nearest to the instance, or the even one if x is exactly half way between two integers.Decimal64.rootN
(int n) Nth root.Decimal64.scalb
(int n) Multiply the instance by a power of 2.Decimal64.signum()
Compute the signum of the instance.Decimal64.sin()
Sine operation.Decimal64.sinh()
Hyperbolic sine operation.Decimal64.sqrt()
Square root.Decimal64.subtract
(double a) '-' operator.Compute this - a.Decimal64.tan()
Tangent operation.Decimal64.tanh()
Hyperbolic tangent operation.Methods in org.apache.commons.math3.util that return types with arguments of type Decimal64Modifier and TypeMethodDescriptionDecimal64.getField()
Get theField
to which the instance belongs.Class
<? extends FieldElement<Decimal64>> Decimal64Field.getRuntimeClass()
Returns the runtime class of the FieldElement.Methods in org.apache.commons.math3.util with parameters of type Decimal64Modifier and TypeMethodDescriptionCompute this + a.Two arguments arc tangent operation.int
The current implementation returns the same value asnew Double(this.doubleValue()).compareTo(new Double(o.doubleValue()))
Returns the instance with the sign of the argument.Compute this ÷ a.Returns the hypotenuse of a triangle with sidesthis
andy
- sqrt(this2 +y2) avoiding intermediate overflow or underflow.Decimal64.linearCombination
(double[] a, Decimal64[] b) Compute a linear combination.Decimal64.linearCombination
(double a1, Decimal64 b1, double a2, Decimal64 b2) Compute a linear combination.Decimal64.linearCombination
(double a1, Decimal64 b1, double a2, Decimal64 b2, double a3, Decimal64 b3) Compute a linear combination.Decimal64.linearCombination
(double a1, Decimal64 b1, double a2, Decimal64 b2, double a3, Decimal64 b3, double a4, Decimal64 b4) Compute a linear combination.Decimal64.linearCombination
(Decimal64[] a, Decimal64[] b) Compute a linear combination.Decimal64.linearCombination
(Decimal64 a1, Decimal64 b1, Decimal64 a2, Decimal64 b2) Compute a linear combination.Decimal64.linearCombination
(Decimal64 a1, Decimal64 b1, Decimal64 a2, Decimal64 b2, Decimal64 a3, Decimal64 b3) Compute a linear combination.Decimal64.linearCombination
(Decimal64 a1, Decimal64 b1, Decimal64 a2, Decimal64 b2, Decimal64 a3, Decimal64 b3, Decimal64 a4, Decimal64 b4) Compute a linear combination.Compute this × a.Power operation.IEEE remainder operator.Compute this - a.