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

A

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.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(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 \( a b \) to this sum.
addProducts(double[], double[]) - Method in class org.apache.commons.numbers.core.Sum
Adds \( \sum_i a_i b_i \) to this sum.
ArithmeticUtils - Class in org.apache.commons.numbers.core
Some useful, arithmetics related, additions to the built-in functions in Math.

C

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

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.

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).
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.

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.

I

isPowerOfTwo(long) - Static method in class org.apache.commons.numbers.core.ArithmeticUtils
Returns true if the argument is a power of two.

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).
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(int) - Method in interface org.apache.commons.numbers.core.NativeOperators
Repeated addition.
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.
Norm - Enum in org.apache.commons.numbers.core
Norm functions.

O

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.
ofProducts(double[], double[]) - Static method in class org.apache.commons.numbers.core.Sum
Creates a new instance containing \( \sum_i a_i b_i \).
one() - Method in interface org.apache.commons.numbers.core.Multiplication
Identity element.
org.apache.commons.numbers.core - package org.apache.commons.numbers.core
Basic utilities.

P

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(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.
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 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.
signum(double) - Method in interface org.apache.commons.numbers.core.Precision.DoubleEquivalence
Returns the sign of the argument.
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.

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.
A C D E G I L M N O P R S V Z 
All Classes All Packages