A B C D E F G H I L M N O P R S T V Z 
All Classes All Packages

A

abs() - Method in class org.apache.commons.numbers.core.DD
Returns a DD whose value is the absolute value of the number (x, xx) This method assumes that the low part xx is the smaller magnitude.
accept(double) - Method in class org.apache.commons.numbers.core.Sum
Adds a single term to this sum.
add(double) - Method in class org.apache.commons.numbers.core.DD
Returns a DD whose value is (this + y).
add(double) - Method in class org.apache.commons.numbers.core.Sum
Adds a single term to this sum.
add(double...) - Method in class org.apache.commons.numbers.core.Sum
Adds values from the given array to the sum.
add(DD) - Method in class org.apache.commons.numbers.core.DD
Returns a DD whose value is (this + y).
add(Sum) - Method in class org.apache.commons.numbers.core.Sum
Adds another sum to this sum.
add(T) - Method in interface org.apache.commons.numbers.core.Addition
Binary addition.
Addition<T> - Interface in org.apache.commons.numbers.core
Addition.
addProduct(double, double) - Method in class org.apache.commons.numbers.core.Sum
Adds the high-accuracy product ab to this sum.
addProducts(double[], double[]) - Method in class org.apache.commons.numbers.core.Sum
Adds iaibi to this sum.
ArithmeticUtils - Class in org.apache.commons.numbers.core
Some useful, arithmetics related, additions to the built-in functions in Math.

B

bigDecimalValue() - Method in class org.apache.commons.numbers.core.DD
Get the value as a BigDecimal.

C

ceil() - Method in class org.apache.commons.numbers.core.DD
Returns the smallest (closest to negative infinity) DD value that is greater than or equal to this number (x, xx) and is equal to a mathematical integer.
compare(double, double) - Method in interface org.apache.commons.numbers.core.Precision.DoubleEquivalence
Compares two values.
compareTo(double, double, double) - Static method in class org.apache.commons.numbers.core.Precision
Compares two numbers given some amount of allowed error.
compareTo(double, double, int) - Static method in class org.apache.commons.numbers.core.Precision
Compares two numbers given some amount of allowed error.
create() - Static method in class org.apache.commons.numbers.core.Sum
Creates a new instance with an initial value of zero.

D

DD - Class in org.apache.commons.numbers.core
Computes double-double floating-point operations.
DDMath - Class in org.apache.commons.numbers.core
Computes extended precision floating-point operations.
divide(double) - Method in class org.apache.commons.numbers.core.DD
Returns a DD whose value is (this / y).
divide(DD) - Method in class org.apache.commons.numbers.core.DD
Returns a DD whose value is (this / y).
divide(T) - Method in interface org.apache.commons.numbers.core.NativeOperators
Binary division.
divideUnsigned(int, int) - Static method in class org.apache.commons.numbers.core.ArithmeticUtils
Returns the unsigned quotient of dividing the first argument by the second where each argument and the result is interpreted as an unsigned value.
divideUnsigned(long, long) - Static method in class org.apache.commons.numbers.core.ArithmeticUtils
Returns the unsigned quotient of dividing the first argument by the second where each argument and the result is interpreted as an unsigned value.
doubleEquivalenceOfEpsilon(double) - Static method in class org.apache.commons.numbers.core.Precision
Creates a Precision.DoubleEquivalence instance that uses the given epsilon value for determining equality.
doubleValue() - Method in class org.apache.commons.numbers.core.DD
Get the value as a double.

E

EPSILON - Static variable in class org.apache.commons.numbers.core.Precision
Largest double-precision floating-point number such that 1 + EPSILON is numerically equal to 1.
eq(double, double) - Method in interface org.apache.commons.numbers.core.Precision.DoubleEquivalence
Indicates whether given values are considered equal to each other.
equals(double, double) - Static method in class org.apache.commons.numbers.core.Precision
Returns true iff they are equal as defined by equals(x, y, 1).
equals(double, double, double) - Static method in class org.apache.commons.numbers.core.Precision
Returns true if there is no double value strictly between the arguments or the difference between them is within the range of allowed error (inclusive).
equals(double, double, int) - Static method in class org.apache.commons.numbers.core.Precision
Returns true if the arguments are equal or within the range of allowed error (inclusive).
equals(float, float) - Static method in class org.apache.commons.numbers.core.Precision
Returns true iff they are equal as defined by equals(x, y, 1).
equals(float, float, float) - Static method in class org.apache.commons.numbers.core.Precision
Returns true if there is no float value strictly between the arguments or the difference between them is within the range of allowed error (inclusive).
equals(float, float, int) - Static method in class org.apache.commons.numbers.core.Precision
Returns true if the arguments are equal or within the range of allowed error (inclusive).
equals(Object) - Method in class org.apache.commons.numbers.core.DD
Test for equality with another object.
equalsIncludingNaN(double, double) - Static method in class org.apache.commons.numbers.core.Precision
Returns true if the arguments are both NaN or they are equal as defined by equals(x, y, 1).
equalsIncludingNaN(double, double, double) - Static method in class org.apache.commons.numbers.core.Precision
Returns true if the arguments are both NaN, there are no double value strictly between the arguments or the difference between them is within the range of allowed error (inclusive).
equalsIncludingNaN(double, double, int) - Static method in class org.apache.commons.numbers.core.Precision
Returns true if both arguments are NaN or if they are equal as defined by equals(x, y, maxUlps).
equalsIncludingNaN(float, float) - Static method in class org.apache.commons.numbers.core.Precision
Returns true if both arguments are NaN or they are equal as defined by equals(x, y, 1).
equalsIncludingNaN(float, float, float) - Static method in class org.apache.commons.numbers.core.Precision
Returns true if the arguments are both NaN, there are no float value strictly between the arguments or the difference between them is within the range of allowed error (inclusive).
equalsIncludingNaN(float, float, int) - Static method in class org.apache.commons.numbers.core.Precision
Returns true if both arguments are NaN or if they are equal as defined by equals(x, y, maxUlps).
equalsWithRelativeTolerance(double, double, double) - Static method in class org.apache.commons.numbers.core.Precision
Returns true if there is no double value strictly between the arguments or the relative difference between them is less than or equal to the given tolerance.
eqZero(double) - Method in interface org.apache.commons.numbers.core.Precision.DoubleEquivalence
Indicates whether the given value is considered equal to zero.
EUCLIDEAN - org.apache.commons.numbers.core.Norm
Alias for Norm.L2.

F

floatValue() - Method in class org.apache.commons.numbers.core.DD
Get the value as a float.
floor() - Method in class org.apache.commons.numbers.core.DD
Returns the largest (closest to positive infinity) DD value that is less than or equal to this number (x, xx) and is equal to a mathematical integer.
frexp(int[]) - Method in class org.apache.commons.numbers.core.DD
Convert this number x to fractional f and integral 2^exp components.
from(BigDecimal) - Static method in class org.apache.commons.numbers.core.DD
Creates the double-double number (z, zz) using the double representation of the argument x; the low part is the double representation of the round-off error.
fromQuotient(double, double) - Static method in class org.apache.commons.numbers.core.DD
Returns a DD whose value is (x / y).

G

gcd(int, int) - Static method in class org.apache.commons.numbers.core.ArithmeticUtils
Computes the greatest common divisor of the absolute value of two numbers, using a modified version of the "binary gcd" method.
gcd(long, long) - Static method in class org.apache.commons.numbers.core.ArithmeticUtils
Gets the greatest common divisor of the absolute value of two numbers, using the "binary gcd" method which avoids division and modulo operations.
getAsDouble() - Method in class org.apache.commons.numbers.core.Sum
Gets the sum value.
gt(double, double) - Method in interface org.apache.commons.numbers.core.Precision.DoubleEquivalence
Indicates whether the first argument is strictly greater than the second.
gte(double, double) - Method in interface org.apache.commons.numbers.core.Precision.DoubleEquivalence
Indicates whether the first argument is greater than or considered equal to the second.

H

hashCode() - Method in class org.apache.commons.numbers.core.DD
Gets a hash code for the double-double number.
hi() - Method in class org.apache.commons.numbers.core.DD
Gets the first part x of the double-double number (x, xx).

I

intValue() - Method in class org.apache.commons.numbers.core.DD
Get the value as an int.
isFinite() - Method in class org.apache.commons.numbers.core.DD
Returns true if the evaluated sum of the parts is finite.
isOne() - Method in class org.apache.commons.numbers.core.DD
Check if this is a neutral element of multiplication, i.e.
isOne() - Method in interface org.apache.commons.numbers.core.Multiplication
Check if this is a neutral element of multiplication, i.e.
isPowerOfTwo(long) - Static method in class org.apache.commons.numbers.core.ArithmeticUtils
Returns true if the argument is a power of two.
isZero() - Method in interface org.apache.commons.numbers.core.Addition
Check if this is a neutral element of addition, i.e.
isZero() - Method in class org.apache.commons.numbers.core.DD
Check if this is a neutral element of addition, i.e.

L

L1 - org.apache.commons.numbers.core.Norm
Manhattan norm (sum of the absolute values of the arguments).
L2 - org.apache.commons.numbers.core.Norm
lcm(int, int) - Static method in class org.apache.commons.numbers.core.ArithmeticUtils
Returns the least common multiple of the absolute value of two numbers, using the formula lcm(a,b) = (a / gcd(a,b)) * b.
lcm(long, long) - Static method in class org.apache.commons.numbers.core.ArithmeticUtils
Returns the least common multiple of the absolute value of two numbers, using the formula lcm(a,b) = (a / gcd(a,b)) * b.
LINF - org.apache.commons.numbers.core.Norm
Maximum norm (maximum of the absolute values of the arguments).
lo() - Method in class org.apache.commons.numbers.core.DD
Gets the second part xx of the double-double number (x, xx).
longValue() - Method in class org.apache.commons.numbers.core.DD
Get the value as a long.
lt(double, double) - Method in interface org.apache.commons.numbers.core.Precision.DoubleEquivalence
Indicates whether the first argument is strictly smaller than the second.
lte(double, double) - Method in interface org.apache.commons.numbers.core.Precision.DoubleEquivalence
Indicates whether the first argument is smaller or considered equal to the second.

M

MANHATTAN - org.apache.commons.numbers.core.Norm
Alias for Norm.L1.
MAXIMUM - org.apache.commons.numbers.core.Norm
Alias for Norm.LINF.
Multiplication<T> - Interface in org.apache.commons.numbers.core
Multiplication.
multiply(double) - Method in class org.apache.commons.numbers.core.DD
Returns a DD whose value is this * y.
multiply(int) - Method in class org.apache.commons.numbers.core.DD
Repeated addition.
multiply(int) - Method in interface org.apache.commons.numbers.core.NativeOperators
Repeated addition.
multiply(DD) - Method in class org.apache.commons.numbers.core.DD
Returns a DD whose value is this * y.
multiply(T) - Method in interface org.apache.commons.numbers.core.Multiplication
Binary multiplication.

N

NativeOperators<T> - Interface in org.apache.commons.numbers.core
Operators that can be implemented in a more performant way using the language constructs.
negate() - Method in interface org.apache.commons.numbers.core.Addition
Additive inverse.
negate() - Method in class org.apache.commons.numbers.core.DD
Returns a DD whose value is the negation of both parts of double-double number.
Norm - Enum in org.apache.commons.numbers.core
Norm functions.

O

of(double) - Static method in class org.apache.commons.numbers.core.DD
Creates the double-double number as the value (x, 0).
of(double) - Static method in class org.apache.commons.numbers.core.Sum
Creates an instance initialized to the given value.
of(double[]) - Method in enum org.apache.commons.numbers.core.Norm
Computes the norm.
of(double...) - Static method in class org.apache.commons.numbers.core.Sum
Creates an instance containing the sum of the given values.
of(double, double) - Method in enum org.apache.commons.numbers.core.Norm
Computes the norm.
of(double, double, double) - Method in enum org.apache.commons.numbers.core.Norm
Computes the norm.
of(int) - Static method in class org.apache.commons.numbers.core.DD
Creates the double-double number as the value (x, 0).
of(long) - Static method in class org.apache.commons.numbers.core.DD
Creates the double-double number with the high part equal to (double) x and the low part equal to any remaining bits.
ofDifference(double, double) - Static method in class org.apache.commons.numbers.core.DD
Returns a DD whose value is (x - y).
ofProduct(double, double) - Static method in class org.apache.commons.numbers.core.DD
Returns a DD whose value is (x * y).
ofProducts(double[], double[]) - Static method in class org.apache.commons.numbers.core.Sum
Creates a new instance containing iaibi.
ofSquare(double) - Static method in class org.apache.commons.numbers.core.DD
Returns a DD whose value is (x * x).
ofSum(double, double) - Static method in class org.apache.commons.numbers.core.DD
Returns a DD whose value is (x + y).
one() - Method in class org.apache.commons.numbers.core.DD
Identity element.
one() - Method in interface org.apache.commons.numbers.core.Multiplication
Identity element.
ONE - Static variable in class org.apache.commons.numbers.core.DD
A double-double number representing one.
org.apache.commons.numbers.core - package org.apache.commons.numbers.core
Basic utilities.

P

pow(int) - Method in class org.apache.commons.numbers.core.DD
Compute this number (x, xx) raised to the power n.
pow(int) - Method in interface org.apache.commons.numbers.core.NativeOperators
Repeated multiplication.
pow(int, int) - Static method in class org.apache.commons.numbers.core.ArithmeticUtils
Raise an int to an int power.
pow(int, long[]) - Method in class org.apache.commons.numbers.core.DD
Compute this number x raised to the power n.
pow(long, int) - Static method in class org.apache.commons.numbers.core.ArithmeticUtils
Raise a long to an int power.
pow(BigInteger, int) - Static method in class org.apache.commons.numbers.core.ArithmeticUtils
Raise a BigInteger to an int power.
pow(BigInteger, long) - Static method in class org.apache.commons.numbers.core.ArithmeticUtils
Raise a BigInteger to a long power.
pow(BigInteger, BigInteger) - Static method in class org.apache.commons.numbers.core.ArithmeticUtils
Raise a BigInteger to a BigInteger power.
pow(DD, int, long[]) - Static method in class org.apache.commons.numbers.core.DDMath
Compute the number x raised to the power n.
Precision - Class in org.apache.commons.numbers.core
Utilities for comparing numbers.
Precision.DoubleEquivalence - Interface in org.apache.commons.numbers.core
Interface containing comparison operations for doubles that allow values to be considered equal even if they are not exactly equal.

R

reciprocal() - Method in class org.apache.commons.numbers.core.DD
Compute the reciprocal of this.
reciprocal() - Method in interface org.apache.commons.numbers.core.Multiplication
Multiplicative inverse.
remainderUnsigned(int, int) - Static method in class org.apache.commons.numbers.core.ArithmeticUtils
Returns the unsigned remainder from dividing the first argument by the second where each argument and the result is interpreted as an unsigned value.
remainderUnsigned(long, long) - Static method in class org.apache.commons.numbers.core.ArithmeticUtils
Returns the unsigned remainder from dividing the first argument by the second where each argument and the result is interpreted as an unsigned value.
representableDelta(double, double) - Static method in class org.apache.commons.numbers.core.Precision
Computes a number close to delta with the property that (x + delta - x) is exactly machine-representable.
round(double, int) - Static method in class org.apache.commons.numbers.core.Precision
Rounds the given value to the specified number of decimal places.
round(double, int, RoundingMode) - Static method in class org.apache.commons.numbers.core.Precision
Rounds the given value to the specified number of decimal places.

S

SAFE_MIN - Static variable in class org.apache.commons.numbers.core.Precision
Safe minimum, such that 1 / SAFE_MIN does not overflow.
scalb(int) - Method in class org.apache.commons.numbers.core.DD
Multiply this number (x, xx) by an integral power of two.
signum(double) - Method in interface org.apache.commons.numbers.core.Precision.DoubleEquivalence
Returns the sign of the argument.
sqrt() - Method in class org.apache.commons.numbers.core.DD
Compute the square root of this number (x, xx).
square() - Method in class org.apache.commons.numbers.core.DD
Returns a DD whose value is this * this.
subtract(double) - Method in class org.apache.commons.numbers.core.DD
Returns a DD whose value is (this - y).
subtract(DD) - Method in class org.apache.commons.numbers.core.DD
Returns a DD whose value is (this - y).
subtract(Sum) - Method in class org.apache.commons.numbers.core.Sum
Subtracts another sum from this sum.
subtract(T) - Method in interface org.apache.commons.numbers.core.NativeOperators
Binary subtraction.
Sum - Class in org.apache.commons.numbers.core
Class providing accurate floating-point sums and linear combinations.

T

toString() - Method in class org.apache.commons.numbers.core.DD
Returns a string representation of the double-double number.

V

valueOf(String) - Static method in enum org.apache.commons.numbers.core.Norm
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.apache.commons.numbers.core.Norm
Returns an array containing the constants of this enum type, in the order they are declared.

Z

zero() - Method in interface org.apache.commons.numbers.core.Addition
Identity element.
zero() - Method in class org.apache.commons.numbers.core.DD
Identity element.
ZERO - Static variable in class org.apache.commons.numbers.core.DD
A double-double number representing zero.
A B C D E F G H I L M N O P R S T V Z 
All Classes All Packages