A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- a - Variable in class org.apache.commons.numbers.fraction.GeneralizedContinuedFraction.Coefficient
-
"a" coefficient.
- A_CROSSOVER - Static variable in class org.apache.commons.numbers.complex.Complex
-
Crossover point to switch computation for asin/acos factor A.
- abs() - Method in class org.apache.commons.numbers.complex.Complex
-
Returns the absolute value of this complex number.
- abs() - Method in class org.apache.commons.numbers.fraction.BigFraction
-
Returns the absolute value of this fraction.
- abs() - Method in class org.apache.commons.numbers.fraction.Fraction
-
Returns the absolute value of this fraction.
- abs(double, double) - Static method in class org.apache.commons.numbers.complex.Complex
-
Returns the absolute value of the complex number.
- absoluteAccuracy - Variable in class org.apache.commons.numbers.rootfinder.BrentSolver
-
Absolute accuracy.
- AbstractField<T extends NativeOperators<T>> - Class in org.apache.commons.numbers.field
-
Boiler-plate code for concrete implementations of
Field
. - AbstractField() - Constructor for class org.apache.commons.numbers.field.AbstractField
- accept(double) - Method in class org.apache.commons.numbers.core.Sum
-
Adds a single term to this sum.
- acos() - Method in class org.apache.commons.numbers.complex.Complex
-
Returns the inverse cosine of this complex number.
- acos(double, double, Complex.ComplexConstructor) - Static method in class org.apache.commons.numbers.complex.Complex
-
Returns the inverse cosine of the complex number.
- acosh() - Method in class org.apache.commons.numbers.complex.Complex
-
Returns the inverse hyperbolic cosine of this complex number.
- add(double) - Method in class org.apache.commons.numbers.complex.Complex
-
Returns a
Complex
whose value is(this + addend)
, withaddend
interpreted as a real number. - 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(int) - Method in class org.apache.commons.numbers.fraction.BigFraction
-
Adds the specified
value
to this fraction, returning the result in reduced form. - add(int) - Method in class org.apache.commons.numbers.fraction.Fraction
-
Adds the specified
value
to this fraction, returning the result in reduced form. - add(long) - Method in class org.apache.commons.numbers.fraction.BigFraction
-
Adds the specified
value
to this fraction, returning the result in reduced form. - add(BigInteger) - Method in class org.apache.commons.numbers.fraction.BigFraction
-
Adds the specified
value
to this fraction, returning the result in reduced form. - add(Complex) - Method in class org.apache.commons.numbers.complex.Complex
-
Returns a
Complex
whose value is(this + addend)
. - add(Sum) - Method in class org.apache.commons.numbers.core.Sum
-
Adds another sum to this sum.
- add(FP64) - Method in class org.apache.commons.numbers.field.FP64
-
Binary addition.
- add(BigFraction) - Method in class org.apache.commons.numbers.fraction.BigFraction
-
Adds the specified
value
to this fraction, returning the result in reduced form. - add(Fraction) - Method in class org.apache.commons.numbers.fraction.Fraction
-
Adds the specified
value
to this fraction, returning the result in reduced form. - add(Quaternion) - Method in class org.apache.commons.numbers.quaternion.Quaternion
-
Computes the sum of the instance and another quaternion.
- add(Quaternion, Quaternion) - Static method in class org.apache.commons.numbers.quaternion.Quaternion
-
Computes the sum of two quaternions.
- add(T) - Method in interface org.apache.commons.numbers.core.Addition
-
Binary addition.
- add(T, T) - Method in class org.apache.commons.numbers.field.AbstractField
- add(T, T) - Method in interface org.apache.commons.numbers.field.Field
- addImaginary(double) - Method in class org.apache.commons.numbers.complex.Complex
-
Returns a
Complex
whose value is(this + addend)
, withaddend
interpreted as an imaginary number. - 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.
- addSub(Fraction, boolean) - Method in class org.apache.commons.numbers.fraction.Fraction
-
Implements add and subtract using algorithm described in Knuth 4.5.1.
- algo - Variable in class org.apache.commons.numbers.quaternion.Slerp
-
Linear or spherical interpolation algorithm.
- Angle - Class in org.apache.commons.numbers.angle
-
Represents the angle concept.
- Angle(double) - Constructor for class org.apache.commons.numbers.angle.Angle
- Angle.Deg - Class in org.apache.commons.numbers.angle
-
Unit: degrees.
- Angle.Normalizer - Class in org.apache.commons.numbers.angle
-
Normalizes an angle around a center value.
- Angle.Rad - Class in org.apache.commons.numbers.angle
-
Unit: radians.
- Angle.Turn - Class in org.apache.commons.numbers.angle
-
Unit: turns.
- apply(double) - Method in class org.apache.commons.numbers.quaternion.Slerp
-
Performs the interpolation.
- apply(double) - Method in class org.apache.commons.numbers.quaternion.Slerp.Linear
- apply(double) - Method in class org.apache.commons.numbers.quaternion.Slerp.Spherical
- apply(double[], double[]...) - Method in enum org.apache.commons.numbers.arrays.SortInPlace
-
Sorts in place.
- applyAsDouble(double) - Method in class org.apache.commons.numbers.angle.Angle.Normalizer
- applyAsDouble(double) - Method in class org.apache.commons.numbers.angle.Reduce
- arg() - Method in class org.apache.commons.numbers.complex.Complex
-
Returns the argument of this complex number.
- ArithmeticUtils - Class in org.apache.commons.numbers.core
-
Some useful, arithmetics related, additions to the built-in functions in
Math
. - ArithmeticUtils() - Constructor for class org.apache.commons.numbers.core.ArithmeticUtils
-
Private constructor.
- ArithmeticUtils.NumbersArithmeticException - Exception in org.apache.commons.numbers.core
-
Exception.
- array - Variable in enum org.apache.commons.numbers.core.Norm
-
Function of array argument.
- ASCENDING - org.apache.commons.numbers.arrays.SortInPlace
-
Sort in ascending order.
- asin() - Method in class org.apache.commons.numbers.complex.Complex
-
Returns the inverse sine of this complex number.
- asin(double, double, Complex.ComplexConstructor) - Static method in class org.apache.commons.numbers.complex.Complex
-
Returns the inverse sine of the complex number.
- asinh() - Method in class org.apache.commons.numbers.complex.Complex
-
Returns the inverse hyperbolic sine of this complex number.
- atan() - Method in class org.apache.commons.numbers.complex.Complex
-
Returns the inverse tangent of this complex number.
- atanh() - Method in class org.apache.commons.numbers.complex.Complex
-
Returns the inverse hyperbolic tangent of this complex number.
- atanh(double, double, Complex.ComplexConstructor) - Static method in class org.apache.commons.numbers.complex.Complex
-
Returns the inverse hyperbolic tangent of this complex number.
B
- b - Variable in class org.apache.commons.numbers.fraction.GeneralizedContinuedFraction.Coefficient
-
"b" coefficient.
- B_CROSSOVER - Static variable in class org.apache.commons.numbers.complex.Complex
-
Crossover point to switch computation for asin/acos factor B.
- BEFORE_SEP - Static variable in class org.apache.commons.numbers.complex.Complex
-
The minimum number of characters before the separator.
- beta(double, double) - Static method in class org.apache.commons.numbers.gamma.BoostBeta
-
Beta function.
- beta(double, double, double) - Static method in class org.apache.commons.numbers.gamma.BoostBeta
-
Full incomplete beta.
- beta(double, double, double, Policy) - Static method in class org.apache.commons.numbers.gamma.BoostBeta
-
Full incomplete beta.
- Beta - Class in org.apache.commons.numbers.gamma
- Beta() - Constructor for class org.apache.commons.numbers.gamma.Beta
-
Private constructor.
- betac(double, double, double) - Static method in class org.apache.commons.numbers.gamma.BoostBeta
-
Complement of the incomplete beta.
- betac(double, double, double, Policy) - Static method in class org.apache.commons.numbers.gamma.BoostBeta
-
Complement of the incomplete beta.
- betaIncompleteImp(double, double, double, Policy, boolean, boolean) - Static method in class org.apache.commons.numbers.gamma.BoostBeta
-
Main incomplete beta entry point, handles all four incomplete betas.
- betaSmallBLargeASeries(double, double, double, double, double, double, Policy, boolean) - Static method in class org.apache.commons.numbers.gamma.BoostBeta
-
Computes beta(a, b, x) using small b and large a.
- bigDecimalValue() - Method in class org.apache.commons.numbers.fraction.BigFraction
-
Returns the
BigDecimal
representation of this fraction. - bigDecimalValue(int, RoundingMode) - Method in class org.apache.commons.numbers.fraction.BigFraction
-
Returns the
BigDecimal
representation of this fraction. - bigDecimalValue(RoundingMode) - Method in class org.apache.commons.numbers.fraction.BigFraction
-
Returns the
BigDecimal
representation of this fraction. - BigFraction - Class in org.apache.commons.numbers.fraction
-
Representation of a rational number using arbitrary precision.
- BigFraction(BigInteger) - Constructor for class org.apache.commons.numbers.fraction.BigFraction
-
Private constructor: Instances are created using factory methods.
- BigFraction(BigInteger, BigInteger) - Constructor for class org.apache.commons.numbers.fraction.BigFraction
-
Private constructor: Instances are created using factory methods.
- BigFractionField - Class in org.apache.commons.numbers.field
-
BigFraction
field. - BigFractionField() - Constructor for class org.apache.commons.numbers.field.BigFractionField
-
Singleton.
- binomialCCdf(int, int, double, double) - Static method in class org.apache.commons.numbers.gamma.BoostBeta
-
Binomial complementary cdf.
- binomialCoefficient(int, int) - Static method in class org.apache.commons.numbers.gamma.BoostBeta
-
Computes the binomial coefficient.
- BinomialCoefficient - Class in org.apache.commons.numbers.combinatorics
-
Representation of the binomial coefficient.
- BinomialCoefficient() - Constructor for class org.apache.commons.numbers.combinatorics.BinomialCoefficient
-
Private constructor.
- BinomialCoefficientDouble - Class in org.apache.commons.numbers.combinatorics
-
Representation of the binomial coefficient, as a
double
. - BinomialCoefficientDouble() - Constructor for class org.apache.commons.numbers.combinatorics.BinomialCoefficientDouble
-
Private constructor.
- binomialTerm(int, int, double, double) - Static method in class org.apache.commons.numbers.gamma.BoostBeta
-
Compute the binomial term.
- BoostBeta - Class in org.apache.commons.numbers.gamma
-
Implementation of the regularized beta functions and incomplete beta functions.
- BoostBeta() - Constructor for class org.apache.commons.numbers.gamma.BoostBeta
-
Private constructor.
- BoostErf - Class in org.apache.commons.numbers.gamma
-
Implementation of the error function and its inverse.
- BoostErf() - Constructor for class org.apache.commons.numbers.gamma.BoostErf
-
Private constructor.
- BoostGamma - Class in org.apache.commons.numbers.gamma
-
Implementation of the Regularized Gamma functions and Incomplete Gamma functions.
- BoostGamma() - Constructor for class org.apache.commons.numbers.gamma.BoostGamma
-
Private constructor.
- BoostGamma.Lanczos - Class in org.apache.commons.numbers.gamma
-
53-bit precision implementation of the Lanczos approximation.
- BoostMath - Class in org.apache.commons.numbers.gamma
-
Math functions used by the Boost functions.
- BoostMath() - Constructor for class org.apache.commons.numbers.gamma.BoostMath
-
Private constructor.
- BoostTools - Class in org.apache.commons.numbers.gamma
-
Utility tools used by the Boost functions.
- BoostTools() - Constructor for class org.apache.commons.numbers.gamma.BoostTools
-
Private constructor.
- boundedTrialDivision(int, int, List<Integer>) - Static method in class org.apache.commons.numbers.primes.SmallPrimes
-
Extract factors between
PRIME_LAST + 2
andmaxFactors
. - boxInfinity(double) - Static method in class org.apache.commons.numbers.complex.Complex
-
Box values for the real or imaginary component of an infinite complex number.
- BRACKETING - Static variable in exception org.apache.commons.numbers.rootfinder.SolverException
-
Error message for "failed bracketing" condition.
- brent(DoubleUnaryOperator, double, double, double, double) - Method in class org.apache.commons.numbers.rootfinder.BrentSolver
-
Search for a zero inside the provided interval.
- BrentSolver - Class in org.apache.commons.numbers.rootfinder
-
This class implements the Brent algorithm for finding zeros of real univariate functions.
- BrentSolver(double, double, double) - Constructor for class org.apache.commons.numbers.rootfinder.BrentSolver
-
Construct a solver.
- byteValue() - Method in class org.apache.commons.numbers.field.FP64
C
- c - Variable in class org.apache.commons.numbers.combinatorics.Combinations.LexicographicIterator
-
c[1], ..., c[k] stores the next combination; c[k + 1], c[k + 2] are sentinels.
- C_LIMIT - Static variable in class org.apache.commons.numbers.gamma.Digamma
-
C limit.
- C_LIMIT - Static variable in class org.apache.commons.numbers.gamma.Trigamma
-
C limit.
- changeNaNtoZero(double) - Static method in class org.apache.commons.numbers.complex.Complex
-
Change NaN to zero preserving the sign; otherwise return the value.
- changeSign(double, double) - Static method in class org.apache.commons.numbers.complex.Complex
-
Change the sign of the magnitude based on the signed value.
- checkBinomial(int, int) - Static method in class org.apache.commons.numbers.combinatorics.BinomialCoefficient
-
Check binomial preconditions.
- checkStrictlyPositive(String, int) - Static method in class org.apache.commons.numbers.arrays.MultidimensionalCounter
-
Check the size is strictly positive:
size > 0
. - CMP_UNSIGNED_2046 - Static variable in class org.apache.commons.numbers.core.ExtendedPrecision
-
The value 2046 converted for use if using
Integer.compareUnsigned(int, int)
. - CMP_UNSIGNED_MINUS_1 - Static variable in class org.apache.commons.numbers.core.ExtendedPrecision
-
The value -1 converted for use if using
Integer.compareUnsigned(int, int)
. - Coefficient(double, double) - Constructor for class org.apache.commons.numbers.fraction.GeneralizedContinuedFraction.Coefficient
- Combinations - Class in org.apache.commons.numbers.combinatorics
- Combinations(int, int) - Constructor for class org.apache.commons.numbers.combinatorics.Combinations
- Combinations.LexicographicComparator - Class in org.apache.commons.numbers.combinatorics
-
Defines a lexicographic ordering of the combinations.
- Combinations.LexicographicIterator - Class in org.apache.commons.numbers.combinatorics
-
Lexicographic combinations iterator.
- Combinations.SingletonIterator - Class in org.apache.commons.numbers.combinatorics
-
Iterator with just one element to handle degenerate cases (full array, empty array) for combination iterator.
- CombinatoricsException - Exception in org.apache.commons.numbers.combinatorics
-
Package private exception class with constants for frequently used messages.
- CombinatoricsException(String, Object...) - Constructor for exception org.apache.commons.numbers.combinatorics.CombinatoricsException
-
Create an exception where the message is constructed by applying the
format()
method fromjava.text.MessageFormat
. - comp - Variable in class org.apache.commons.numbers.core.Sum
-
Compensation value.
- comparator - Variable in enum org.apache.commons.numbers.arrays.SortInPlace
-
Comparator.
- comparator() - Method in class org.apache.commons.numbers.combinatorics.Combinations
-
Creates a comparator.
- compare(double, double) - Method in interface org.apache.commons.numbers.core.Precision.DoubleEquivalence
-
Compares two values.
- compare(int[], int[]) - Method in class org.apache.commons.numbers.combinatorics.Combinations.LexicographicComparator
- 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.
- compareTo(FP64) - Method in class org.apache.commons.numbers.field.FP64
- compareTo(BigFraction) - Method in class org.apache.commons.numbers.fraction.BigFraction
-
Compares this object with the specified object for order using the signed magnitude.
- compareTo(Fraction) - Method in class org.apache.commons.numbers.fraction.Fraction
-
Compares this object with the specified object for order using the signed magnitude.
- complement(double, double, double) - Static method in class org.apache.commons.numbers.gamma.IncompleteBeta
-
Computes the complement of the incomplete beta function B(x, a, b).
- complement(double, double, double) - Static method in class org.apache.commons.numbers.gamma.RegularizedBeta
-
Computes the complement of the regularized beta function I(x, a, b).
- complement(double, double, double, double, int) - Static method in class org.apache.commons.numbers.gamma.IncompleteBeta
-
Computes the complement of the incomplete beta function B(x, a, b).
- complement(double, double, double, double, int) - Static method in class org.apache.commons.numbers.gamma.RegularizedBeta
-
Computes the complement of the regularized beta function I(x, a, b).
- Complex - Class in org.apache.commons.numbers.complex
-
Cartesian representation of a complex number.
- Complex(double, double) - Constructor for class org.apache.commons.numbers.complex.Complex
-
Private default constructor.
- Complex.ComplexConstructor - Interface in org.apache.commons.numbers.complex
-
Define a constructor for a Complex.
- COMPUTE_ERF - Static variable in class org.apache.commons.numbers.gamma.BoostErf
-
Threshold for the erf implementation for |x| where the computation uses
erf(x)
; otherwiseerfc(x)
is computed. - conj() - Method in class org.apache.commons.numbers.complex.Complex
-
Returns the conjugate \( \overline{z} \) of this complex number \( z \).
- conjugate() - Method in class org.apache.commons.numbers.quaternion.Quaternion
-
Returns the conjugate of this quaternion number.
- ContinuedFraction - Class in org.apache.commons.numbers.fraction
-
Provides a generic means to evaluate continued fractions.
- ContinuedFraction() - Constructor for class org.apache.commons.numbers.fraction.ContinuedFraction
- cos() - Method in class org.apache.commons.numbers.complex.Complex
-
Returns the cosine of this complex number.
- CosAngle - Class in org.apache.commons.numbers.angle
-
Computes the cosine of the angle between two vectors.
- CosAngle() - Constructor for class org.apache.commons.numbers.angle.CosAngle
-
Private constructor.
- cosh() - Method in class org.apache.commons.numbers.complex.Complex
-
Returns the hyperbolic cosine of this complex number.
- cosh(double, double, Complex.ComplexConstructor) - Static method in class org.apache.commons.numbers.complex.Complex
-
Returns the hyperbolic cosine of the complex number.
- coshsinh(double, double, double, boolean, Complex.ComplexConstructor) - Static method in class org.apache.commons.numbers.complex.Complex
-
Compute cosh or sinh when the absolute real component |x| is large.
- create() - Static method in class org.apache.commons.numbers.combinatorics.FactorialDouble
-
Deprecated.Since 1.1 this functionality has been replaced with
Factorial.doubleValue(int)
.This class no longer supports a cache. This method returns a reference to a single instance.
- create() - Static method in class org.apache.commons.numbers.combinatorics.LogFactorial
-
Creates an instance with no precomputed values.
- create() - Static method in class org.apache.commons.numbers.core.Sum
-
Creates a new instance with an initial value of zero.
- create(double, double) - Method in interface org.apache.commons.numbers.complex.Complex.ComplexConstructor
-
Create a complex number given the real and imaginary parts.
- createIndexOutOfBoundsMessage(int, int) - Static method in class org.apache.commons.numbers.arrays.MultidimensionalCounter
-
Creates the message for the index out of bounds exception.
D
- Default() - Constructor for class org.apache.commons.numbers.quaternion.Quaternion.Type.Default
- DEFAULT - org.apache.commons.numbers.quaternion.Quaternion.Type
-
Default implementation.
- DEFAULT - Static variable in class org.apache.commons.numbers.gamma.Policy
-
Default policy.
- DEFAULT_EPS - Static variable in class org.apache.commons.numbers.fraction.GeneralizedContinuedFraction
-
Default absolute difference threshold for change in magnitude.
- DEFAULT_EPSILON - Static variable in class org.apache.commons.numbers.fraction.Fraction
-
The default epsilon used for convergence.
- DEFAULT_ITERATIONS - Static variable in class org.apache.commons.numbers.fraction.GeneralizedContinuedFraction
-
Default maximum number of iterations.
- DEFAULT_LOW - Static variable in class org.apache.commons.numbers.fraction.GeneralizedContinuedFraction
-
Default low threshold for change in magnitude.
- DEFAULT_MAX_ITERATIONS - Static variable in class org.apache.commons.numbers.fraction.BigFraction
-
The default iterations used for convergence.
- DEFAULT_MAX_ITERATIONS - Static variable in class org.apache.commons.numbers.fraction.Fraction
-
The default iterations used for convergence.
- Deg(double) - Constructor for class org.apache.commons.numbers.angle.Angle.Deg
- DEG_TO_RAD - Static variable in class org.apache.commons.numbers.angle.Angle
-
Degrees to radians conversion factor.
- delta(double, double) - Static method in class org.apache.commons.numbers.gamma.GammaRatio
-
Computes the ratio of gamma functions of a value and an offset value.
- DELTA - Static variable in class org.apache.commons.numbers.gamma.LogBeta
-
The coefficients of the series expansion of the \( \Delta \) function.
- deltaMinusDeltaSum(double, double) - Static method in class org.apache.commons.numbers.gamma.LogBeta
-
Returns the value of \( \Delta(b) - \Delta(a + b) \), with \( 0 \leq a \leq b \) and \( b \geq 10 \).
- DENOM - Static variable in class org.apache.commons.numbers.gamma.BoostGamma.Lanczos
-
Common denominator used for the rational evaluation.
- denominator - Variable in class org.apache.commons.numbers.fraction.BigFraction
-
The denominator of this fraction reduced to lowest terms.
- denominator - Variable in class org.apache.commons.numbers.fraction.Fraction
-
The denominator of this fraction reduced to lowest terms.
- derivative(double, double) - Static method in class org.apache.commons.numbers.gamma.RegularizedGamma.P
-
Computes the derivative of the lower regularized gamma function \( P(a, x) \).
- derivative(double, double) - Static method in class org.apache.commons.numbers.gamma.RegularizedGamma.Q
-
Computes the derivative of the upper regularized gamma function \( Q(a, x) \).
- derivative(double, double, double) - Static method in class org.apache.commons.numbers.gamma.RegularizedBeta
-
Computes the derivative of the regularized beta function I(x, a, b).
- DESCENDING - org.apache.commons.numbers.arrays.SortInPlace
-
Sort in descending order.
- Digamma - Class in org.apache.commons.numbers.gamma
- Digamma() - Constructor for class org.apache.commons.numbers.gamma.Digamma
-
Private constructor.
- dimension - Variable in class org.apache.commons.numbers.arrays.MultidimensionalCounter
-
Number of dimensions.
- divide(double) - Method in class org.apache.commons.numbers.complex.Complex
-
Returns a
Complex
whose value is(this / divisor)
, withdivisor
interpreted as a real number. - divide(double) - Method in class org.apache.commons.numbers.quaternion.Quaternion
-
Divides the instance by a scalar.
- divide(double, double, double, double) - Static method in class org.apache.commons.numbers.complex.Complex
-
Returns a
Complex
whose value is: - divide(int) - Method in class org.apache.commons.numbers.fraction.BigFraction
-
Divide this fraction by the passed
value
, returning the result in reduced form. - divide(int) - Method in class org.apache.commons.numbers.fraction.Fraction
-
Divide this fraction by the passed
value
, returning the result in reduced form. - divide(long) - Method in class org.apache.commons.numbers.fraction.BigFraction
-
Divide this fraction by the passed
value
, returning the result in reduced form. - divide(BigInteger) - Method in class org.apache.commons.numbers.fraction.BigFraction
-
Divide this fraction by the passed
value
, returning the result in reduced form. - divide(Complex) - Method in class org.apache.commons.numbers.complex.Complex
-
Returns a
Complex
whose value is(this / divisor)
. - divide(FP64) - Method in class org.apache.commons.numbers.field.FP64
-
Binary division.
- divide(BigFraction) - Method in class org.apache.commons.numbers.fraction.BigFraction
-
Divide this fraction by the passed
value
, returning the result in reduced form. - divide(Fraction) - Method in class org.apache.commons.numbers.fraction.Fraction
-
Divide this fraction by the passed
value
, returning the result in reduced form. - divide(T) - Method in interface org.apache.commons.numbers.core.NativeOperators
-
Binary division.
- divide(T, T) - Method in class org.apache.commons.numbers.field.AbstractField
- divide(T, T) - Method in interface org.apache.commons.numbers.field.Field
- divideImaginary(double) - Method in class org.apache.commons.numbers.complex.Complex
-
Returns a
Complex
whose value is(this / divisor)
, withdivisor
interpreted as an imaginary number. - 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.
- dot(Quaternion) - Method in class org.apache.commons.numbers.quaternion.Quaternion
-
Computes the dot-product of the instance by a quaternion.
- dot(Quaternion, Quaternion) - Static method in class org.apache.commons.numbers.quaternion.Quaternion
-
Computes the dot-product of two quaternions.
- DOUBLE_FACTORIALS - Static variable in class org.apache.commons.numbers.combinatorics.Factorial
-
All factorials that can be represented as a double (values up to 170!).
- 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.field.FP64
- doubleValue() - Method in class org.apache.commons.numbers.fraction.BigFraction
-
Returns the
double
value closest to this fraction. - doubleValue() - Method in class org.apache.commons.numbers.fraction.Fraction
-
Returns the
double
value closest to this fraction. - doubleValue(int) - Static method in class org.apache.commons.numbers.combinatorics.Factorial
-
Computes the factorial of
n
. - DOWN_SCALE - Static variable in class org.apache.commons.numbers.core.ExtendedPrecision
-
The scale to use when down-scaling during a split into a high part.
E
- end - Variable in class org.apache.commons.numbers.quaternion.Slerp
-
End of the interpolation.
- ensureNonEmpty(double[]) - Static method in enum org.apache.commons.numbers.core.Norm
- eps - Variable in class org.apache.commons.numbers.gamma.Policy
-
Epsilon value for relative error.
- EPSILON - Static variable in class org.apache.commons.numbers.complex.Complex
-
Largest double-precision floating-point number such that
1 + EPSILON
is numerically equal to 1. - 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. - EPSILON - Static variable in class org.apache.commons.numbers.gamma.BoostBeta
-
Default epsilon value for relative error.
- EPSILON - Static variable in class org.apache.commons.numbers.gamma.BoostGamma
-
Default epsilon value for relative error.
- EPSILON - Static variable in class org.apache.commons.numbers.gamma.BoostTools
-
The minimum epsilon value for relative error in the summation.
- 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.complex.Complex
-
Returns
true
if the values are equal according to semantics ofDouble.equals(Object)
. - 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.angle.Angle
-
Test for equality with another object.
- equals(Object) - Method in class org.apache.commons.numbers.complex.Complex
-
Test for equality with another object.
- equals(Object) - Method in class org.apache.commons.numbers.field.FP64
- equals(Object) - Method in class org.apache.commons.numbers.fraction.BigFraction
-
Test for equality with another object.
- equals(Object) - Method in class org.apache.commons.numbers.fraction.Fraction
-
Test for equality with another object.
- equals(Object) - Method in class org.apache.commons.numbers.quaternion.Quaternion
- equals(Quaternion, double) - Method in class org.apache.commons.numbers.quaternion.Quaternion
-
Checks whether this instance is equal to another quaternion within a given tolerance.
- 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. - equalsZero(double) - Static method in class org.apache.commons.numbers.rootfinder.BrentSolver
-
Return true if the value is within 1 ULP of zero.
- eqZero(double) - Method in interface org.apache.commons.numbers.core.Precision.DoubleEquivalence
-
Indicates whether the given value is considered equal to zero.
- erf(double) - Static method in class org.apache.commons.numbers.gamma.BoostErf
-
Returns the error function.
- Erf - Class in org.apache.commons.numbers.gamma
- Erf() - Constructor for class org.apache.commons.numbers.gamma.Erf
-
Private constructor.
- erfc(double) - Static method in class org.apache.commons.numbers.gamma.BoostErf
-
Returns the complementary error function.
- Erfc - Class in org.apache.commons.numbers.gamma
- Erfc() - Constructor for class org.apache.commons.numbers.gamma.Erfc
-
Private constructor.
- erfcInv(double) - Static method in class org.apache.commons.numbers.gamma.BoostErf
-
Returns the inverse complementary error function.
- erfcx(double) - Static method in class org.apache.commons.numbers.gamma.BoostErf
-
Returns the scaled complementary error function.
- Erfcx - Class in org.apache.commons.numbers.gamma
-
Scaled complementary error function.
- Erfcx() - Constructor for class org.apache.commons.numbers.gamma.Erfcx
-
Private constructor.
- ERFCX_APPROX - Static variable in class org.apache.commons.numbers.gamma.BoostErf
-
Threshold for the scaled complementary error function erfcx where the approximation
(1 / sqrt(pi)) / x
can be used. - ERFCX_NEG_X_MAX - Static variable in class org.apache.commons.numbers.gamma.BoostErf
-
Threshold for the scaled complementary error function erfcx for negative x where
2 * exp(x*x)
will overflow. - ErfDifference - Class in org.apache.commons.numbers.gamma
-
Computes the difference between
error function values
. - ErfDifference() - Constructor for class org.apache.commons.numbers.gamma.ErfDifference
-
Private constructor.
- erfImp(double, boolean, boolean) - Static method in class org.apache.commons.numbers.gamma.BoostErf
-
53-bit implementation for the error function.
- erfInv(double) - Static method in class org.apache.commons.numbers.gamma.BoostErf
-
Returns the inverse error function.
- erfInvImp(double, double) - Static method in class org.apache.commons.numbers.gamma.BoostErf
-
Common implementation for inverse erf and erfc functions.
- ERROR_CONVERSION - Static variable in exception org.apache.commons.numbers.fraction.FractionException
-
Error message when iterative conversion fails.
- ERROR_CONVERSION_OVERFLOW - Static variable in exception org.apache.commons.numbers.fraction.FractionException
-
Error message for overflow during conversion.
- ERROR_DIVIDE_BY_ZERO - Static variable in exception org.apache.commons.numbers.fraction.FractionException
-
Error message for divide by zero.
- ERROR_ZERO_DENOMINATOR - Static variable in exception org.apache.commons.numbers.fraction.FractionException
-
Error message for zero-valued denominator.
- euclidean(double[]) - Static method in enum org.apache.commons.numbers.core.Norm
-
Computes the Euclidean norm.
- euclidean(double, double) - Static method in enum org.apache.commons.numbers.core.Norm
-
Computes the Euclidean norm.
- euclidean(double, double, double) - Static method in enum org.apache.commons.numbers.core.Norm
-
Computes the Euclidean norm.
- EUCLIDEAN - org.apache.commons.numbers.core.Norm
-
Alias for
Norm.L2
. - euclideanNormSpecial(double[], int) - Static method in enum org.apache.commons.numbers.core.Norm
-
Special cases of non-finite input.
- EULER - Static variable in class org.apache.commons.numbers.gamma.BoostGamma
-
Euler's constant.
- evaluate(double, double) - Method in class org.apache.commons.numbers.fraction.ContinuedFraction
-
Evaluates the continued fraction.
- evaluate(double, double, int) - Method in class org.apache.commons.numbers.fraction.ContinuedFraction
-
Evaluates the continued fraction.
- evaluate(double, Supplier<GeneralizedContinuedFraction.Coefficient>, double, int) - Static method in class org.apache.commons.numbers.fraction.GeneralizedContinuedFraction
-
Evaluates the continued fraction using the modified Lentz algorithm described in Thompson and Barnett (1986) Journal of Computational Physics 64, 490-509.
- evaluatePolynomial(double[], double) - Static method in class org.apache.commons.numbers.gamma.BoostTools
-
Evaluate the polynomial using Horner's method.
- evaluateRational(double[], int[], double) - Static method in class org.apache.commons.numbers.gamma.BoostGamma.Lanczos
-
Evaluate the rational number as two polynomials.
- exp() - Method in class org.apache.commons.numbers.complex.Complex
-
Returns the exponential function of this complex number.
- EXP_1024 - Static variable in class org.apache.commons.numbers.complex.Complex
-
Represents an exponent of 1024 in unbiased form (infinite or nan) shifted 20-bits to align with the upper 32-bits of a double.
- EXP_500 - Static variable in class org.apache.commons.numbers.complex.Complex
-
Represents an exponent of 500 in unbiased form shifted 20-bits to align with the upper 32-bits of a double.
- EXP_54 - Static variable in class org.apache.commons.numbers.complex.Complex
-
54 shifted 20-bits to align with the exponent of the upper 32-bits of a double.
- EXP_DIFF_THRESHOLD_2D - Static variable in enum org.apache.commons.numbers.core.Norm
-
Threshold for the difference between the exponents of two Euclidean 2D input values where the larger value dominates the calculation.
- EXP_M - Static variable in class org.apache.commons.numbers.complex.Complex
-
The value of Math.exp(SAFE_EXP): e^708.
- EXP_MASK - Static variable in class org.apache.commons.numbers.core.ExtendedPrecision
-
The mask to extract the raw 11-bit exponent.
- EXP_NEG_500 - Static variable in class org.apache.commons.numbers.complex.Complex
-
Represents an exponent of -500 in unbiased form shifted 20-bits to align with the upper 32-bits of a double.
- EXP_XX_1 - Static variable in class org.apache.commons.numbers.gamma.BoostErf
-
Threshold for the scaled complementary error function erfcx for x where
exp(x*x) == 1; x <= t
. - expmxx(double) - Static method in class org.apache.commons.numbers.gamma.BoostErf
-
Compute
exp(-x*x)
with high accuracy. - EXPONENT_OFFSET - Static variable in class org.apache.commons.numbers.complex.Complex
-
Exponent offset in IEEE754 representation.
- EXPONENT_OFFSET - Static variable in class org.apache.commons.numbers.core.Precision
-
Exponent offset in IEEE754 representation.
- expxx(double) - Static method in class org.apache.commons.numbers.gamma.BoostErf
-
Compute
exp(x*x)
with high accuracy. - expxx(double, double) - Static method in class org.apache.commons.numbers.gamma.BoostErf
-
Compute
exp(a+b)
with high accuracy assuminga+b = a
. - ExtendedPrecision - Class in org.apache.commons.numbers.core
-
Computes extended precision floating-point operations.
- ExtendedPrecision() - Constructor for class org.apache.commons.numbers.core.ExtendedPrecision
-
Private constructor.
F
- F_1_120 - Static variable in class org.apache.commons.numbers.gamma.Digamma
-
Fraction.
- F_1_30 - Static variable in class org.apache.commons.numbers.gamma.Trigamma
-
Fraction.
- F_1_42 - Static variable in class org.apache.commons.numbers.gamma.Trigamma
-
Fraction.
- F_1_6 - Static variable in class org.apache.commons.numbers.gamma.Trigamma
-
Fraction.
- F_M1_12 - Static variable in class org.apache.commons.numbers.gamma.Digamma
-
Fraction.
- F_M1_252 - Static variable in class org.apache.commons.numbers.gamma.Digamma
-
Fraction.
- Factorial - Class in org.apache.commons.numbers.combinatorics
- Factorial() - Constructor for class org.apache.commons.numbers.combinatorics.Factorial
-
Private constructor.
- FACTORIAL - Static variable in class org.apache.commons.numbers.gamma.BoostGamma
-
All factorials that can be represented as a double.
- FactorialDouble - Class in org.apache.commons.numbers.combinatorics
-
Deprecated.Since 1.1 this functionality has been replaced with
Factorial.doubleValue(int)
. Factorial of a number. - FactorialDouble() - Constructor for class org.apache.commons.numbers.combinatorics.FactorialDouble
-
Deprecated.No public instances.
- FACTORIALS - Static variable in class org.apache.commons.numbers.combinatorics.Factorial
-
All long-representable factorials.
- FACTORIALS_CACHE_SIZE - Static variable in class org.apache.commons.numbers.combinatorics.LogFactorial
-
Size of precomputed factorials.
- fastSumLow(double, double, double) - Static method in class org.apache.commons.numbers.complex.Complex
-
Compute the round-off from the sum of two numbers
a
andb
using Dekker's two-sum algorithm. - Field<T> - Interface in org.apache.commons.numbers.field
-
Interface representing a field.
- findRoot(DoubleUnaryOperator, double, double) - Method in class org.apache.commons.numbers.rootfinder.BrentSolver
-
Search the function's zero within the given interval.
- findRoot(DoubleUnaryOperator, double, double, double) - Method in class org.apache.commons.numbers.rootfinder.BrentSolver
-
Search the function's zero within the given interval, starting from the given estimate.
- finiteGammaQ(double, double) - Static method in class org.apache.commons.numbers.gamma.BoostGamma
-
Upper gamma fraction for integer a.
- finiteHalfGammaQ(double, double) - Static method in class org.apache.commons.numbers.gamma.BoostGamma
-
Upper gamma fraction for half integer a.
- floatValue() - Method in class org.apache.commons.numbers.field.FP64
- floatValue() - Method in class org.apache.commons.numbers.fraction.BigFraction
-
Returns the
float
value closest to this fraction. - floatValue() - Method in class org.apache.commons.numbers.fraction.Fraction
-
Returns the
float
value closest to this fraction. - FORMAT_END - Static variable in class org.apache.commons.numbers.complex.Complex
- FORMAT_END - Static variable in class org.apache.commons.numbers.quaternion.Quaternion
- FORMAT_MIN_LEN - Static variable in class org.apache.commons.numbers.complex.Complex
-
The minimum number of characters in the format.
- FORMAT_SEP - Static variable in class org.apache.commons.numbers.complex.Complex
- FORMAT_SEP - Static variable in class org.apache.commons.numbers.quaternion.Quaternion
- FORMAT_START - Static variable in class org.apache.commons.numbers.complex.Complex
- FORMAT_START - Static variable in class org.apache.commons.numbers.quaternion.Quaternion
- FP64 - Class in org.apache.commons.numbers.field
-
Wraps a
double
value in order to be used as a field element. - FP64(double) - Constructor for class org.apache.commons.numbers.field.FP64
- FP64Field - Class in org.apache.commons.numbers.field
-
Double
field. - FP64Field() - Constructor for class org.apache.commons.numbers.field.FP64Field
-
Singleton.
- Fraction - Class in org.apache.commons.numbers.fraction
-
Representation of a rational number.
- Fraction(double, double, int, int) - Constructor for class org.apache.commons.numbers.fraction.Fraction
-
Create a fraction given the double value and either the maximum error allowed or the maximum number of denominator digits.
- Fraction(int) - Constructor for class org.apache.commons.numbers.fraction.Fraction
-
Private constructor: Instances are created using factory methods.
- Fraction(int, int) - Constructor for class org.apache.commons.numbers.fraction.Fraction
-
Private constructor: Instances are created using factory methods.
- FractionException - Exception in org.apache.commons.numbers.fraction
-
Package private exception class with constants for frequently used messages.
- FractionException(String) - Constructor for exception org.apache.commons.numbers.fraction.FractionException
-
Create an exception with the specified message.
- FractionException(String, Object...) - Constructor for exception org.apache.commons.numbers.fraction.FractionException
-
Create an exception where the message is constructed by applying
String.format(String, Object...)
. - FractionField - Class in org.apache.commons.numbers.field
-
Fraction
field. - FractionField() - Constructor for class org.apache.commons.numbers.field.FractionField
-
Singleton.
- from(double) - Static method in class org.apache.commons.numbers.fraction.BigFraction
-
Create a fraction given the double value.
- from(double) - Static method in class org.apache.commons.numbers.fraction.Fraction
-
Create a fraction given the double value.
- from(double, double, int) - Static method in class org.apache.commons.numbers.fraction.BigFraction
-
Create a fraction given the double value and maximum error allowed.
- from(double, double, int) - Static method in class org.apache.commons.numbers.fraction.Fraction
-
Create a fraction given the double value and maximum error allowed.
- from(double, double, int, int) - Static method in class org.apache.commons.numbers.fraction.BigFraction
-
Create a fraction given the double value and either the maximum error allowed or the maximum number of denominator digits.
- from(double, int) - Static method in class org.apache.commons.numbers.fraction.BigFraction
-
Create a fraction given the double value and maximum denominator.
- from(double, int) - Static method in class org.apache.commons.numbers.fraction.Fraction
-
Create a fraction given the double value and maximum denominator.
- fullIgammaPrefix(double, double) - Static method in class org.apache.commons.numbers.gamma.BoostGamma
-
Calculate power term prefix (z^a)(e^-z) used in the non-normalised incomplete gammas.
- functionValueAccuracy - Variable in class org.apache.commons.numbers.rootfinder.BrentSolver
-
Function accuracy.
G
- g() - Static method in class org.apache.commons.numbers.gamma.LanczosApproximation
- G - Static variable in class org.apache.commons.numbers.gamma.BoostGamma.Lanczos
-
Lanczos constant G.
- Gamma - Class in org.apache.commons.numbers.gamma
-
Gamma function \( \Gamma(x) \).
- Gamma() - Constructor for class org.apache.commons.numbers.gamma.Gamma
-
Private constructor.
- GAMMA - Static variable in class org.apache.commons.numbers.gamma.Digamma
- GammaException - Exception in org.apache.commons.numbers.gamma
-
Package private exception class with constants for frequently used messages.
- GammaException(String, Object...) - Constructor for exception org.apache.commons.numbers.gamma.GammaException
-
Create an exception where the message is constructed by applying the
format()
method fromjava.lang.String
. - gammaIncompleteImp(double, double, boolean, boolean, Policy) - Static method in class org.apache.commons.numbers.gamma.BoostGamma
-
Main incomplete gamma entry point, handles all four incomplete gammas.
- gammaP(double, double) - Static method in class org.apache.commons.numbers.gamma.BoostGamma
-
Regularised lower incomplete gamma.
- gammaP(double, double, Policy) - Static method in class org.apache.commons.numbers.gamma.BoostGamma
-
Regularised lower incomplete gamma.
- gammaPDerivative(double, double) - Static method in class org.apache.commons.numbers.gamma.BoostGamma
-
Derivative of the regularised lower incomplete gamma.
- gammaQ(double, double) - Static method in class org.apache.commons.numbers.gamma.BoostGamma
-
Regularised upper incomplete gamma.
- gammaQ(double, double, Policy) - Static method in class org.apache.commons.numbers.gamma.BoostGamma
-
Regularised upper incomplete gamma.
- GammaRatio - Class in org.apache.commons.numbers.gamma
-
Ratio of Gamma functions.
- GammaRatio() - Constructor for class org.apache.commons.numbers.gamma.GammaRatio
-
Private constructor.
- 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.
- GeneralizedContinuedFraction - Class in org.apache.commons.numbers.fraction
-
Provides a means to evaluate generalized continued fractions.
- GeneralizedContinuedFraction() - Constructor for class org.apache.commons.numbers.fraction.GeneralizedContinuedFraction
-
No instances.
- GeneralizedContinuedFraction.Coefficient - Class in org.apache.commons.numbers.fraction
-
Defines the
n
-th "a" and "b" coefficients of the continued fraction. - get() - Static method in class org.apache.commons.numbers.field.BigFractionField
- get() - Static method in class org.apache.commons.numbers.field.FP64Field
- get() - Static method in class org.apache.commons.numbers.field.FractionField
- getA() - Method in class org.apache.commons.numbers.fraction.GeneralizedContinuedFraction.Coefficient
-
Returns the
n
-th "a" coefficient of the continued fraction. - getA(int, double) - Method in class org.apache.commons.numbers.fraction.ContinuedFraction
-
Defines the
n
-th "a" coefficient of the continued fraction. - getAsDouble() - Method in class org.apache.commons.numbers.angle.Angle
- getAsDouble() - Method in class org.apache.commons.numbers.core.Sum
-
Gets the sum value.
- getB() - Method in class org.apache.commons.numbers.fraction.GeneralizedContinuedFraction.Coefficient
-
Returns the
n
-th "b" coefficient of the continued fraction. - getB(int, double) - Method in class org.apache.commons.numbers.fraction.ContinuedFraction
-
Defines the
n
-th "b" coefficient of the continued fraction. - getDefault() - Static method in class org.apache.commons.numbers.gamma.Policy
-
Gets the default.
- getDenominator() - Method in class org.apache.commons.numbers.fraction.BigFraction
-
Access the denominator as a
BigInteger
. - getDenominator() - Method in class org.apache.commons.numbers.fraction.Fraction
-
Access the denominator as an
int
. - getDenominatorAsInt() - Method in class org.apache.commons.numbers.fraction.BigFraction
-
Access the denominator as an
int
. - getDenominatorAsLong() - Method in class org.apache.commons.numbers.fraction.BigFraction
-
Access the denominator as a
long
. - getDimension() - Method in class org.apache.commons.numbers.arrays.MultidimensionalCounter
-
Gets the number of dimensions of the multidimensional counter.
- getEps() - Method in class org.apache.commons.numbers.gamma.Policy
-
Gets the epsilon value for relative error.
- getEpsilon(double, double) - Static method in class org.apache.commons.numbers.gamma.BoostTools
-
Gets the epsilon ensuring it satisfies the minimum allowed value.
- getFactorials() - Static method in class org.apache.commons.numbers.gamma.BoostGamma
-
All factorials that are representable as a double.
- getImaginary() - Method in class org.apache.commons.numbers.complex.Complex
-
Gets the imaginary part \( b \) of this complex number \( (a + i b) \).
- getK() - Method in class org.apache.commons.numbers.combinatorics.Combinations
-
Gets the number of elements in each combination.
- getMaxExponent(double, double) - Static method in class org.apache.commons.numbers.complex.Complex
-
Returns the largest unbiased exponent used in the representation of the two numbers.
- getMaxIterations() - Method in class org.apache.commons.numbers.gamma.Policy
-
Gets the maximum number of iterations permitted in a series evaluation.
- getN() - Method in class org.apache.commons.numbers.combinatorics.Combinations
-
Gets the size of the set from which combinations are drawn.
- getNumerator() - Method in class org.apache.commons.numbers.fraction.BigFraction
-
Access the numerator as a
BigInteger
. - getNumerator() - Method in class org.apache.commons.numbers.fraction.Fraction
-
Access the numerator as an
int
. - getNumeratorAsInt() - Method in class org.apache.commons.numbers.fraction.BigFraction
-
Access the numerator as an
int
. - getNumeratorAsLong() - Method in class org.apache.commons.numbers.fraction.BigFraction
-
Access the numerator as a
long
. - getReal() - Method in class org.apache.commons.numbers.complex.Complex
-
Gets the real part \( a \) of this complex number \( (a + i b) \).
- getScalarPart() - Method in class org.apache.commons.numbers.quaternion.Quaternion
-
Gets the scalar part of the quaternion.
- getScale(double, double) - Static method in class org.apache.commons.numbers.complex.Complex
-
Returns a scale suitable for use with
Math.scalb(double, int)
to normalise the number to the interval[1, 2)
. - getSize() - Method in class org.apache.commons.numbers.arrays.MultidimensionalCounter
-
Gets the total number of elements.
- getSizes() - Method in class org.apache.commons.numbers.arrays.MultidimensionalCounter
-
Gets the number of multidimensional counter slots in each dimension.
- getVectorPart() - Method in class org.apache.commons.numbers.quaternion.Quaternion
-
Gets the three components of the vector part of the quaternion.
- getW() - Method in class org.apache.commons.numbers.quaternion.Quaternion
-
Gets the first component of the quaternion (scalar part).
- getX() - Method in class org.apache.commons.numbers.quaternion.Quaternion
-
Gets the second component of the quaternion (first component of the vector part).
- getY() - Method in class org.apache.commons.numbers.quaternion.Quaternion
-
Gets the third component of the quaternion (second component of the vector part).
- getZ() - Method in class org.apache.commons.numbers.quaternion.Quaternion
-
Gets the fourth component of the quaternion (third component of the vector part).
- GMH - Static variable in class org.apache.commons.numbers.gamma.BoostGamma.Lanczos
-
Lanczos constant G - half.
- 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
- HALF - Static variable in class org.apache.commons.numbers.complex.Complex
-
1/2
. - HALF_LOG_TWO_PI - Static variable in class org.apache.commons.numbers.gamma.LogBeta
-
The constant value of ½log 2π.
- HALF_PI - Static variable in class org.apache.commons.numbers.gamma.BoostBeta
-
pi/2.
- hashCode() - Method in class org.apache.commons.numbers.angle.Angle
- hashCode() - Method in class org.apache.commons.numbers.complex.Complex
-
Gets a hash code for the complex number.
- hashCode() - Method in class org.apache.commons.numbers.field.FP64
- hashCode() - Method in class org.apache.commons.numbers.fraction.BigFraction
- hashCode() - Method in class org.apache.commons.numbers.fraction.Fraction
- hashCode() - Method in class org.apache.commons.numbers.quaternion.Quaternion
- hasNext() - Method in class org.apache.commons.numbers.combinatorics.Combinations.LexicographicIterator
- hasNext() - Method in class org.apache.commons.numbers.combinatorics.Combinations.SingletonIterator
- hi - Variable in class org.apache.commons.numbers.angle.Angle.Normalizer
-
Upper bound.
- highPartUnscaled(double) - Static method in class org.apache.commons.numbers.core.ExtendedPrecision
-
Implement Dekker's method to split a value into two parts.
- highPartUnscaled(double) - Static method in class org.apache.commons.numbers.gamma.BoostErf
-
Implement Dekker's method to split a value into two parts.
- hypot(double, double) - Static method in class org.apache.commons.numbers.complex.Complex
-
Returns
sqrt(x^2 + y^2)
without intermediate overflow or underflow.
I
- I - Static variable in class org.apache.commons.numbers.complex.Complex
-
A complex number representing \( i \), the square root of \( -1 \).
- I - Static variable in class org.apache.commons.numbers.quaternion.Quaternion
-
i.
- ibeta(double, double, double) - Static method in class org.apache.commons.numbers.gamma.BoostBeta
-
Regularised incomplete beta.
- ibeta(double, double, double, Policy) - Static method in class org.apache.commons.numbers.gamma.BoostBeta
-
Regularised incomplete beta.
- ibetaAStep(double, double, double, double, int, boolean) - Static method in class org.apache.commons.numbers.gamma.BoostBeta
-
Computes the difference between ibeta(a,b,x) and ibeta(a+k,b,x).
- ibetac(double, double, double) - Static method in class org.apache.commons.numbers.gamma.BoostBeta
-
Complement of the regularised incomplete beta.
- ibetac(double, double, double, Policy) - Static method in class org.apache.commons.numbers.gamma.BoostBeta
-
Complement of the regularised incomplete beta.
- ibetaDerivative(double, double, double) - Static method in class org.apache.commons.numbers.gamma.BoostBeta
-
Derivative of the regularised incomplete beta.
- ibetaFraction(double, double, double, double, Policy, boolean) - Static method in class org.apache.commons.numbers.gamma.BoostBeta
-
Evaluate the incomplete beta via the classic continued fraction representation.
- ibetaFraction2(double, double, double, double, Policy, boolean) - Static method in class org.apache.commons.numbers.gamma.BoostBeta
-
Evaluate the incomplete beta via a continued fraction representation.
- ibetaPowerTerms(double, double, double, double, boolean) - Static method in class org.apache.commons.numbers.gamma.BoostBeta
-
Compute the leading power terms in the incomplete Beta.
- ibetaPowerTerms(double, double, double, double, boolean, double) - Static method in class org.apache.commons.numbers.gamma.BoostBeta
-
Compute the leading power terms in the incomplete Beta.
- ibetaSeries(double, double, double, double, boolean, Policy) - Static method in class org.apache.commons.numbers.gamma.BoostBeta
-
Series approximation to the incomplete beta.
- igammaTemmeLarge(double, double) - Static method in class org.apache.commons.numbers.gamma.BoostGamma
-
Implements the asymptotic expansions of the incomplete gamma functions P(a, x) and Q(a, x), used when a is large and x ~ a.
- ILLEGAL_NORM_MSG - Static variable in class org.apache.commons.numbers.quaternion.Quaternion
-
Error message.
- imag() - Method in class org.apache.commons.numbers.complex.Complex
-
Gets the imaginary part \( b \) of this complex number \( (a + i b) \).
- imaginary - Variable in class org.apache.commons.numbers.complex.Complex
-
The imaginary part.
- IncompleteBeta - Class in org.apache.commons.numbers.gamma
- IncompleteBeta() - Constructor for class org.apache.commons.numbers.gamma.IncompleteBeta
-
Private constructor.
- IncompleteGamma - Class in org.apache.commons.numbers.gamma
- IncompleteGamma() - Constructor for class org.apache.commons.numbers.gamma.IncompleteGamma
-
No instances.
- IncompleteGamma.Lower - Class in org.apache.commons.numbers.gamma
-
Lower incomplete Gamma function \( \gamma(a, x) \).
- IncompleteGamma.Upper - Class in org.apache.commons.numbers.gamma
-
Upper incomplete Gamma function \( \Gamma(a, x) \).
- incompleteTgammaLargeX(double, double, Policy) - Static method in class org.apache.commons.numbers.gamma.BoostGamma
-
Incomplete tgamma for large X.
- inRegion(double, double, double, double) - Static method in class org.apache.commons.numbers.complex.Complex
-
Checks if both x and y are in the region defined by the minimum and maximum.
- INSTANCE - Static variable in class org.apache.commons.numbers.combinatorics.FactorialDouble
-
Deprecated.Single instance.
- INSTANCE - Static variable in class org.apache.commons.numbers.field.BigFractionField
-
Singleton.
- INSTANCE - Static variable in class org.apache.commons.numbers.field.FP64Field
-
Singleton.
- INSTANCE - Static variable in class org.apache.commons.numbers.field.FractionField
-
Singleton.
- intValue() - Method in class org.apache.commons.numbers.field.FP64
- intValue() - Method in class org.apache.commons.numbers.fraction.BigFraction
-
Returns the whole number part of the fraction.
- intValue() - Method in class org.apache.commons.numbers.fraction.Fraction
-
Returns the whole number part of the fraction.
- INV_GAMMA1P_M1_A0 - Static variable in class org.apache.commons.numbers.gamma.InvGamma1pm1
-
The constant
A0
defined inDGAM1
. - INV_GAMMA1P_M1_A1 - Static variable in class org.apache.commons.numbers.gamma.InvGamma1pm1
-
The constant
A1
defined inDGAM1
. - INV_GAMMA1P_M1_B1 - Static variable in class org.apache.commons.numbers.gamma.InvGamma1pm1
-
The constant
B1
defined inDGAM1
. - INV_GAMMA1P_M1_B2 - Static variable in class org.apache.commons.numbers.gamma.InvGamma1pm1
-
The constant
B2
defined inDGAM1
. - INV_GAMMA1P_M1_B3 - Static variable in class org.apache.commons.numbers.gamma.InvGamma1pm1
-
The constant
B3
defined inDGAM1
. - INV_GAMMA1P_M1_B4 - Static variable in class org.apache.commons.numbers.gamma.InvGamma1pm1
-
The constant
B4
defined inDGAM1
. - INV_GAMMA1P_M1_B5 - Static variable in class org.apache.commons.numbers.gamma.InvGamma1pm1
-
The constant
B5
defined inDGAM1
. - INV_GAMMA1P_M1_B6 - Static variable in class org.apache.commons.numbers.gamma.InvGamma1pm1
-
The constant
B6
defined inDGAM1
. - INV_GAMMA1P_M1_B7 - Static variable in class org.apache.commons.numbers.gamma.InvGamma1pm1
-
The constant
B7
defined inDGAM1
. - INV_GAMMA1P_M1_B8 - Static variable in class org.apache.commons.numbers.gamma.InvGamma1pm1
-
The constant
B8
defined inDGAM1
. - INV_GAMMA1P_M1_C - Static variable in class org.apache.commons.numbers.gamma.InvGamma1pm1
-
The constant
C
defined inDGAM1
. - INV_GAMMA1P_M1_C0 - Static variable in class org.apache.commons.numbers.gamma.InvGamma1pm1
-
The constant
C0
defined inDGAM1
. - INV_GAMMA1P_M1_C1 - Static variable in class org.apache.commons.numbers.gamma.InvGamma1pm1
-
The constant
C1
defined inDGAM1
. - INV_GAMMA1P_M1_C10 - Static variable in class org.apache.commons.numbers.gamma.InvGamma1pm1
-
The constant
C10
defined inDGAM1
. - INV_GAMMA1P_M1_C11 - Static variable in class org.apache.commons.numbers.gamma.InvGamma1pm1
-
The constant
C11
defined inDGAM1
. - INV_GAMMA1P_M1_C12 - Static variable in class org.apache.commons.numbers.gamma.InvGamma1pm1
-
The constant
C12
defined inDGAM1
. - INV_GAMMA1P_M1_C13 - Static variable in class org.apache.commons.numbers.gamma.InvGamma1pm1
-
The constant
C13
defined inDGAM1
. - INV_GAMMA1P_M1_C2 - Static variable in class org.apache.commons.numbers.gamma.InvGamma1pm1
-
The constant
C2
defined inDGAM1
. - INV_GAMMA1P_M1_C3 - Static variable in class org.apache.commons.numbers.gamma.InvGamma1pm1
-
The constant
C3
defined inDGAM1
. - INV_GAMMA1P_M1_C4 - Static variable in class org.apache.commons.numbers.gamma.InvGamma1pm1
-
The constant
C4
defined inDGAM1
. - INV_GAMMA1P_M1_C5 - Static variable in class org.apache.commons.numbers.gamma.InvGamma1pm1
-
The constant
C5
defined inDGAM1
. - INV_GAMMA1P_M1_C6 - Static variable in class org.apache.commons.numbers.gamma.InvGamma1pm1
-
The constant
C6
defined inDGAM1
. - INV_GAMMA1P_M1_C7 - Static variable in class org.apache.commons.numbers.gamma.InvGamma1pm1
-
The constant
C7
defined inDGAM1
. - INV_GAMMA1P_M1_C8 - Static variable in class org.apache.commons.numbers.gamma.InvGamma1pm1
-
The constant
C8
defined inDGAM1
. - INV_GAMMA1P_M1_C9 - Static variable in class org.apache.commons.numbers.gamma.InvGamma1pm1
-
The constant
C9
defined inDGAM1
. - INV_GAMMA1P_M1_P0 - Static variable in class org.apache.commons.numbers.gamma.InvGamma1pm1
-
The constant
P0
defined inDGAM1
. - INV_GAMMA1P_M1_P1 - Static variable in class org.apache.commons.numbers.gamma.InvGamma1pm1
-
The constant
P1
defined inDGAM1
. - INV_GAMMA1P_M1_P2 - Static variable in class org.apache.commons.numbers.gamma.InvGamma1pm1
-
The constant
P2
defined inDGAM1
. - INV_GAMMA1P_M1_P3 - Static variable in class org.apache.commons.numbers.gamma.InvGamma1pm1
-
The constant
P3
defined inDGAM1
. - INV_GAMMA1P_M1_P4 - Static variable in class org.apache.commons.numbers.gamma.InvGamma1pm1
-
The constant
P4
defined inDGAM1
. - INV_GAMMA1P_M1_P5 - Static variable in class org.apache.commons.numbers.gamma.InvGamma1pm1
-
The constant
P5
defined inDGAM1
. - INV_GAMMA1P_M1_P6 - Static variable in class org.apache.commons.numbers.gamma.InvGamma1pm1
-
The constant
P6
defined inDGAM1
. - INV_GAMMA1P_M1_Q1 - Static variable in class org.apache.commons.numbers.gamma.InvGamma1pm1
-
The constant
Q1
defined inDGAM1
. - INV_GAMMA1P_M1_Q2 - Static variable in class org.apache.commons.numbers.gamma.InvGamma1pm1
-
The constant
Q2
defined inDGAM1
. - INV_GAMMA1P_M1_Q3 - Static variable in class org.apache.commons.numbers.gamma.InvGamma1pm1
-
The constant
Q3
defined inDGAM1
. - INV_GAMMA1P_M1_Q4 - Static variable in class org.apache.commons.numbers.gamma.InvGamma1pm1
-
The constant
Q4
defined inDGAM1
. - inverse() - Method in class org.apache.commons.numbers.quaternion.Quaternion
-
Returns the inverse of this instance.
- InverseErf - Class in org.apache.commons.numbers.gamma
-
Inverse of the error function.
- InverseErf() - Constructor for class org.apache.commons.numbers.gamma.InverseErf
-
Private constructor.
- InverseErfc - Class in org.apache.commons.numbers.gamma
-
Inverse of the complementary error function.
- InverseErfc() - Constructor for class org.apache.commons.numbers.gamma.InverseErfc
-
Private constructor.
- InvGamma1pm1 - Class in org.apache.commons.numbers.gamma
-
Function \( \frac{1}{\Gamma(1 + x)} - 1 \).
- InvGamma1pm1() - Constructor for class org.apache.commons.numbers.gamma.InvGamma1pm1
-
Private constructor.
- IS_UNIT - Static variable in class org.apache.commons.numbers.quaternion.Quaternion.Type.Default
- IS_UNIT - Static variable in class org.apache.commons.numbers.quaternion.Quaternion.Type.Normalized
-
Quaternion.isUnit(double)
returns 1. - isFinite() - Method in class org.apache.commons.numbers.complex.Complex
-
Returns
true
if both real and imaginary component of the complex number are finite. - isInfinite() - Method in class org.apache.commons.numbers.complex.Complex
-
Returns
true
if either real or imaginary component of the complex number is infinite. - isNaN() - Method in class org.apache.commons.numbers.complex.Complex
-
Returns
true
if either the real or imaginary component of the complex number is NaN and the complex number is not infinite. - isNotNormal(double) - Static method in class org.apache.commons.numbers.core.ExtendedPrecision
-
Checks if the number is not normal.
- isNotZero(double, double) - Static method in class org.apache.commons.numbers.complex.Complex
-
Checks if the complex number is not zero.
- isOdd(double) - Static method in class org.apache.commons.numbers.gamma.BoostGamma
-
Checks if the value is odd.
- isPosFinite(double) - Static method in class org.apache.commons.numbers.complex.Complex
-
Check that an absolute value is finite.
- isPosInfinite(double) - Static method in class org.apache.commons.numbers.complex.Complex
-
Check that a value is positive infinity.
- isPowerOfTwo(long) - Static method in class org.apache.commons.numbers.core.ArithmeticUtils
-
Returns true if the argument is a power of two.
- isPrime(int) - Static method in class org.apache.commons.numbers.primes.Primes
-
Primality test: tells if the argument is a (provable) prime or not.
- isPure(double) - Method in class org.apache.commons.numbers.quaternion.Quaternion
-
Checks whether the instance is a pure quaternion within a given tolerance.
- isUnit(double) - Method in class org.apache.commons.numbers.quaternion.Quaternion
-
Checks whether the instance is a unit quaternion within a given tolerance.
- isUnit(Quaternion, double) - Method in enum org.apache.commons.numbers.quaternion.Quaternion.Type
- isZero() - Method in class org.apache.commons.numbers.fraction.BigFraction
-
Returns true if this fraction is zero.
- isZero() - Method in class org.apache.commons.numbers.fraction.Fraction
-
Returns true if this fraction is zero.
- iterator() - Method in class org.apache.commons.numbers.combinatorics.Combinations
-
Creates an iterator whose range is the k-element subsets of {0, ..., n - 1} represented as
int[]
arrays.
J
- j - Variable in class org.apache.commons.numbers.combinatorics.Combinations.LexicographicIterator
-
Marker: smallest index such that
c[j + 1] > j
. - J - Static variable in class org.apache.commons.numbers.quaternion.Quaternion
-
j.
K
- k - Variable in class org.apache.commons.numbers.combinatorics.Combinations
-
Number of elements in each combination.
- k - Variable in class org.apache.commons.numbers.combinatorics.Combinations.LexicographicComparator
-
Number of elements in each combination.
- k - Variable in class org.apache.commons.numbers.combinatorics.Combinations.LexicographicIterator
-
Size of subsets returned by the iterator.
- K - Static variable in class org.apache.commons.numbers.quaternion.Quaternion
-
k.
- KAHAN_EPSILON - Static variable in class org.apache.commons.numbers.gamma.BoostTools
-
The minimum epsilon value for relative error in the Kahan summation.
- kahanSumSeries(DoubleSupplier, double, int) - Static method in class org.apache.commons.numbers.gamma.BoostTools
-
Sum the series using Kahan summation.
- kahanSumSeries(DoubleSupplier, double, int, double) - Static method in class org.apache.commons.numbers.gamma.BoostTools
-
Sum the series using Kahan summation.
- key - Variable in class org.apache.commons.numbers.arrays.SortInPlace.PairDoubleInteger
-
Key.
- key() - Method in class org.apache.commons.numbers.arrays.SortInPlace.PairDoubleInteger
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
- Lanczos() - Constructor for class org.apache.commons.numbers.gamma.BoostGamma.Lanczos
-
Private constructor.
- LANCZOS - Static variable in class org.apache.commons.numbers.gamma.LanczosApproximation
-
Lanczos coefficients.
- LANCZOS_G - Static variable in class org.apache.commons.numbers.gamma.LanczosApproximation
-
\( g = \frac{607}{128} \).
- LANCZOS_THRESHOLD - Static variable in class org.apache.commons.numbers.gamma.BoostGamma
-
The threshold value for choosing the Lanczos approximation.
- LanczosApproximation - Class in org.apache.commons.numbers.gamma
-
Lanczos approximation to the Gamma function.
- LanczosApproximation() - Constructor for class org.apache.commons.numbers.gamma.LanczosApproximation
-
Private constructor.
- lanczosSum(double) - Static method in class org.apache.commons.numbers.gamma.BoostGamma.Lanczos
-
Computes the Lanczos approximation.
- lanczosSumExpGScaled(double) - Static method in class org.apache.commons.numbers.gamma.BoostGamma.Lanczos
-
Computes the Lanczos approximation scaled by
exp(g)
. - LARGE_THRESH - Static variable in enum org.apache.commons.numbers.core.Norm
-
Threshold for scaling large numbers.
- last - Variable in class org.apache.commons.numbers.arrays.MultidimensionalCounter
-
Index of last dimension.
- 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
. - LexicographicComparator(int, int) - Constructor for class org.apache.commons.numbers.combinatorics.Combinations.LexicographicComparator
- LexicographicIterator(int, int) - Constructor for class org.apache.commons.numbers.combinatorics.Combinations.LexicographicIterator
-
Construct a CombinationIterator to enumerate
k
-sets from a set of sizen
. - lexNorm(int[]) - Method in class org.apache.commons.numbers.combinatorics.Combinations.LexicographicComparator
-
Computes the value (in base 10) represented by the digit (interpreted in base
n
) in the input array in reverse order. - lgamma(double) - Static method in class org.apache.commons.numbers.gamma.BoostGamma
-
Log Gamma function.
- lgamma(double, int[]) - Static method in class org.apache.commons.numbers.gamma.BoostGamma
-
Log Gamma function.
- lgammaSmall(double, double, double) - Static method in class org.apache.commons.numbers.gamma.BoostGamma
-
Log Gamma function for small z.
- LIMIT_M_DOUBLE - Static variable in class org.apache.commons.numbers.combinatorics.LogBinomialCoefficient
-
The maximum m that can be computed without overflow of a double for any n.
- LIMIT_N - Static variable in class org.apache.commons.numbers.combinatorics.BinomialCoefficient
-
The maximum n that can be computed without overflow of a long for any m.
- LIMIT_N_DOUBLE - Static variable in class org.apache.commons.numbers.combinatorics.LogBinomialCoefficient
-
The maximum n that can be computed without overflow of a double for an m.
- LIMIT_N_LONG - Static variable in class org.apache.commons.numbers.combinatorics.BinomialCoefficientDouble
-
The maximum n that can be computed without overflow of a long for any m.
- LIMIT_N_LONG - Static variable in class org.apache.commons.numbers.combinatorics.LogBinomialCoefficient
-
The maximum n that can be computed without overflow of a long for any m.
- Linear() - Constructor for class org.apache.commons.numbers.quaternion.Slerp.Linear
- LINF - org.apache.commons.numbers.core.Norm
-
Maximum norm (maximum of the absolute values of the arguments).
- LN_2 - Static variable in class org.apache.commons.numbers.complex.Complex
-
Natural logarithm of 2 (ln(2)).
- lo - Variable in class org.apache.commons.numbers.angle.Angle.Normalizer
-
Lower bound.
- log() - Method in class org.apache.commons.numbers.complex.Complex
-
Returns the natural logarithm of this complex number.
- log(DoubleUnaryOperator, double, double, Complex.ComplexConstructor) - Method in class org.apache.commons.numbers.complex.Complex
-
Returns the logarithm of this complex number using the provided function.
- LOG_10E_O_2 - Static variable in class org.apache.commons.numbers.complex.Complex
-
Base 10 logarithm of 10 divided by 2 (log10(e)/2).
- LOG_MAX_VALUE - Static variable in class org.apache.commons.numbers.gamma.BoostBeta
-
Approximate value for ln(Double.MAX_VALUE).
- LOG_MAX_VALUE - Static variable in class org.apache.commons.numbers.gamma.BoostGamma
-
Approximate value for ln(Double.MAX_VALUE).
- LOG_MIN_VALUE - Static variable in class org.apache.commons.numbers.gamma.BoostBeta
-
Approximate value for ln(Double.MIN_VALUE).
- LOG_MIN_VALUE - Static variable in class org.apache.commons.numbers.gamma.BoostGamma
-
Approximate value for ln(Double.MIN_VALUE).
- LOG_PI - Static variable in class org.apache.commons.numbers.gamma.BoostGamma
-
ln(pi).
- LOG_ROOT_TWO_PI - Static variable in class org.apache.commons.numbers.gamma.BoostGamma
-
ln(sqrt(2 pi)).
- log10() - Method in class org.apache.commons.numbers.complex.Complex
-
Returns the base 10 common logarithm of this complex number.
- LOG10_2 - Static variable in class org.apache.commons.numbers.complex.Complex
-
Base 10 logarithm of 2 (log10(2)).
- log1pmx(double) - Static method in class org.apache.commons.numbers.gamma.SpecialMath
-
Returns
log(1 + x) - x
. - log1pmxSmall(double, double) - Static method in class org.apache.commons.numbers.gamma.SpecialMath
-
Returns
log(1 + x) - x
. - LogBeta - Class in org.apache.commons.numbers.gamma
-
Computes \( log_e B(p, q) \).
- LogBeta() - Constructor for class org.apache.commons.numbers.gamma.LogBeta
-
Private constructor.
- LogBinomialCoefficient - Class in org.apache.commons.numbers.combinatorics
-
Natural logarithm of the binomial coefficient.
- LogBinomialCoefficient() - Constructor for class org.apache.commons.numbers.combinatorics.LogBinomialCoefficient
-
Private constructor.
- LogFactorial - Class in org.apache.commons.numbers.combinatorics
-
Class for computing the natural logarithm of the factorial of a number.
- LogFactorial(int, double[]) - Constructor for class org.apache.commons.numbers.combinatorics.LogFactorial
-
Creates an instance, reusing the already computed values if available.
- logFactorials - Variable in class org.apache.commons.numbers.combinatorics.LogFactorial
-
Precomputed values of the function:
logFactorials[i] = Math.log(i!)
. - LogGamma - Class in org.apache.commons.numbers.gamma
-
Natural logarithm of the absolute value of \( \Gamma(x) \).
- LogGamma() - Constructor for class org.apache.commons.numbers.gamma.LogGamma
-
Private constructor.
- LogGamma1p - Class in org.apache.commons.numbers.gamma
-
Function \( \ln \Gamma(1 + x) \).
- LogGamma1p() - Constructor for class org.apache.commons.numbers.gamma.LogGamma1p
-
Private constructor.
- logGammaMinusLogGammaSum(double, double) - Static method in class org.apache.commons.numbers.gamma.LogBeta
-
Returns the value of \( \log ( \Gamma(b) / \Gamma(a + b) ) \) for \( a \geq 0 \) and \( b \geq 10 \).
- LogGammaSum - Class in org.apache.commons.numbers.gamma
-
Computes \( \log_e(\Gamma(a+b)) \).
- LogGammaSum() - Constructor for class org.apache.commons.numbers.gamma.LogGammaSum
-
Private constructor.
- longValue() - Method in class org.apache.commons.numbers.field.FP64
- longValue() - Method in class org.apache.commons.numbers.fraction.BigFraction
-
Returns the whole number part of the fraction.
- longValue() - Method in class org.apache.commons.numbers.fraction.Fraction
-
Returns the whole number part of the fraction.
- Lower() - Constructor for class org.apache.commons.numbers.gamma.IncompleteGamma.Lower
-
No instances.
- lowerGammaSeries(double, double, double, Policy) - Static method in class org.apache.commons.numbers.gamma.BoostGamma
-
Lower gamma series.
- 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(double[]) - Static method in enum org.apache.commons.numbers.core.Norm
-
Computes the Manhattan norm.
- manhattan(double, double) - Static method in enum org.apache.commons.numbers.core.Norm
-
Computes the Manhattan norm.
- manhattan(double, double, double) - Static method in enum org.apache.commons.numbers.core.Norm
-
Computes the Manhattan norm.
- MANHATTAN - org.apache.commons.numbers.core.Norm
-
Alias for
Norm.L1
. - MANTISSA_MASK - Static variable in class org.apache.commons.numbers.complex.Complex
-
Mask to extract the 52-bit mantissa from a long representation of a double.
- MAX_DOT_THRESHOLD - Static variable in class org.apache.commons.numbers.quaternion.Slerp
-
Threshold max value for the dot product.
- MAX_EPSILON - Static variable in class org.apache.commons.numbers.fraction.GeneralizedContinuedFraction
-
Maximum relative error epsilon.
- MAX_FACTORIAL - Static variable in class org.apache.commons.numbers.combinatorics.BinomialCoefficientDouble
-
The maximum factorial that can be represented as a double.
- MAX_FACTORIAL - Static variable in class org.apache.commons.numbers.gamma.BoostBeta
-
The largest factorial that can be represented as a double.
- MAX_FACTORIAL - Static variable in class org.apache.commons.numbers.gamma.BoostGamma
-
The largest factorial that can be represented as a double.
- MAX_GAMMA_Z - Static variable in class org.apache.commons.numbers.gamma.BoostGamma
-
The largest integer value for gamma(z) that can be represented as a double.
- MAX_M - Static variable in class org.apache.commons.numbers.combinatorics.BinomialCoefficient
-
The maximum m that can be computed without overflow of a long.
- MAX_M - Static variable in class org.apache.commons.numbers.combinatorics.BinomialCoefficientDouble
-
The maximum m that can be computed without overflow of a double.
- maximum(double[]) - Static method in enum org.apache.commons.numbers.core.Norm
-
Computes the maximum norm.
- maximum(double, double) - Static method in enum org.apache.commons.numbers.core.Norm
-
Computes the maximum norm.
- maximum(double, double, double) - Static method in enum org.apache.commons.numbers.core.Norm
-
Computes the maximum norm.
- MAXIMUM - org.apache.commons.numbers.core.Norm
-
Alias for
Norm.LINF
. - maxIterations - Variable in class org.apache.commons.numbers.gamma.Policy
-
The maximum number of iterations permitted in a series evaluation.
- millerRabinPrimeTest(int) - Static method in class org.apache.commons.numbers.primes.SmallPrimes
-
Miller-Rabin probabilistic primality test for int type, used in such a way that a result is always guaranteed.
- MIN_EPSILON - Static variable in class org.apache.commons.numbers.fraction.GeneralizedContinuedFraction
-
Minimum relative error epsilon.
- MISMATCH - Static variable in exception org.apache.commons.numbers.combinatorics.CombinatoricsException
-
Error message for "mismatch" condition.
- more - Variable in class org.apache.commons.numbers.combinatorics.Combinations.LexicographicIterator
-
Return value for
Combinations.LexicographicIterator.hasNext()
. - more - Variable in class org.apache.commons.numbers.combinatorics.Combinations.SingletonIterator
-
True on initialization, false after first call to next.
- MSG_FAILED_TO_CONVERGE - Static variable in class org.apache.commons.numbers.gamma.BoostTools
-
Message for failure to converge.
- MultidimensionalCounter - Class in org.apache.commons.numbers.arrays
-
Converter between unidimensional storage structure and multidimensional conceptual structure.
- MultidimensionalCounter(int...) - Constructor for class org.apache.commons.numbers.arrays.MultidimensionalCounter
-
Creates a counter.
- Multiplication<T> - Interface in org.apache.commons.numbers.core
-
Multiplication.
- MULTIPLIER - Static variable in class org.apache.commons.numbers.complex.Complex
-
The multiplier used to split the double value into hi and low parts.
- MULTIPLIER - Static variable in class org.apache.commons.numbers.core.ExtendedPrecision
-
The multiplier used to split the double value into high and low parts.
- MULTIPLIER - Static variable in class org.apache.commons.numbers.gamma.BoostErf
-
The multiplier used to split the double value into high and low parts.
- multiply(double) - Method in class org.apache.commons.numbers.complex.Complex
-
Returns a
Complex
whose value isthis * factor
, withfactor
interpreted as a real number. - multiply(double) - Method in class org.apache.commons.numbers.quaternion.Quaternion
-
Multiplies the instance by a scalar.
- multiply(double, double, double, double) - Static method in class org.apache.commons.numbers.complex.Complex
-
Returns a
Complex
whose value is: - multiply(int) - Method in interface org.apache.commons.numbers.core.NativeOperators
-
Repeated addition.
- multiply(int) - Method in class org.apache.commons.numbers.field.FP64
-
Repeated addition.
- multiply(int) - Method in class org.apache.commons.numbers.fraction.BigFraction
-
Multiply this fraction by the passed
value
, returning the result in reduced form. - multiply(int) - Method in class org.apache.commons.numbers.fraction.Fraction
-
Multiply this fraction by the passed
value
, returning the result in reduced form. - multiply(int, int) - Method in class org.apache.commons.numbers.fraction.Fraction
-
Multiply this fraction by the passed fraction decomposed into a numerator and denominator, returning the result in reduced form.
- multiply(int, T) - Method in class org.apache.commons.numbers.field.AbstractField
- multiply(int, T) - Method in interface org.apache.commons.numbers.field.Field
- multiply(long) - Method in class org.apache.commons.numbers.fraction.BigFraction
-
Multiply this fraction by the passed
value
, returning the result in reduced form. - multiply(BigInteger) - Method in class org.apache.commons.numbers.fraction.BigFraction
-
Multiply this fraction by the passed
value
, returning the result in reduced form. - multiply(Complex) - Method in class org.apache.commons.numbers.complex.Complex
-
Returns a
Complex
whose value isthis * factor
. - multiply(FP64) - Method in class org.apache.commons.numbers.field.FP64
-
Binary multiplication.
- multiply(BigFraction) - Method in class org.apache.commons.numbers.fraction.BigFraction
-
Multiply this fraction by the passed
value
, returning the result in reduced form. - multiply(Fraction) - Method in class org.apache.commons.numbers.fraction.Fraction
-
Multiply this fraction by the passed
value
, returning the result in reduced form. - multiply(Quaternion) - Method in class org.apache.commons.numbers.quaternion.Quaternion
-
Returns the Hamilton product of the instance by a quaternion.
- multiply(Quaternion, Quaternion) - Static method in class org.apache.commons.numbers.quaternion.Quaternion
-
Returns the Hamilton product of two quaternions.
- multiply(T) - Method in interface org.apache.commons.numbers.core.Multiplication
-
Binary multiplication.
- multiply(T, T) - Method in class org.apache.commons.numbers.field.AbstractField
- multiply(T, T) - Method in interface org.apache.commons.numbers.field.Field
- multiplyImaginary(double) - Method in class org.apache.commons.numbers.complex.Complex
-
Returns a
Complex
whose value isthis * factor
, withfactor
interpreted as an imaginary number. - multiplyNegativeI(double, double) - Static method in class org.apache.commons.numbers.complex.Complex
-
Create a complex number given the real and imaginary parts, then multiply by
-i
.
N
- n - Variable in class org.apache.commons.numbers.combinatorics.Combinations.LexicographicComparator
-
Size of the set from which combinations are drawn.
- n - Variable in class org.apache.commons.numbers.combinatorics.Combinations
-
Size of the set from which combinations are drawn.
- n - Variable in class org.apache.commons.numbers.combinatorics.Combinations.SingletonIterator
-
Number of elements of the singleton array.
- NAN - Static variable in class org.apache.commons.numbers.complex.Complex
-
A complex number representing
NaN + i NaN
. - 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 class org.apache.commons.numbers.complex.Complex
-
Returns a
Complex
whose value is the negation of both the real and imaginary parts of complex number \( z \). - negate() - Method in interface org.apache.commons.numbers.core.Addition
-
Additive inverse.
- negate() - Method in class org.apache.commons.numbers.field.FP64
-
Additive inverse.
- negate() - Method in class org.apache.commons.numbers.fraction.BigFraction
- negate() - Method in class org.apache.commons.numbers.fraction.Fraction
- negate() - Method in class org.apache.commons.numbers.quaternion.Quaternion
-
Returns the opposite of this instance.
- negate(T) - Method in class org.apache.commons.numbers.field.AbstractField
- negate(T) - Method in interface org.apache.commons.numbers.field.Field
- negative(double) - Static method in class org.apache.commons.numbers.complex.Complex
-
Check that a value is negative.
- NEGATIVE - Static variable in exception org.apache.commons.numbers.combinatorics.CombinatoricsException
-
Error message for "out of range" condition.
- NEGATIVE_EXPONENT_1 - Static variable in class org.apache.commons.numbers.core.ArithmeticUtils
-
Negative exponent exception message part 1.
- NEGATIVE_EXPONENT_2 - Static variable in class org.apache.commons.numbers.core.ArithmeticUtils
-
Negative exponent exception message part 2.
- NEGATIVE_ZERO_LONG_BITS - Static variable in class org.apache.commons.numbers.complex.Complex
-
The bit representation of
-0.0
. - next() - Method in class org.apache.commons.numbers.combinatorics.Combinations.LexicographicIterator
- next() - Method in class org.apache.commons.numbers.combinatorics.Combinations.SingletonIterator
- nextPrime(int) - Static method in class org.apache.commons.numbers.primes.Primes
-
Return the smallest prime greater than or equal to n.
- nonZeroLength(int[]) - Static method in class org.apache.commons.numbers.gamma.BoostGamma
-
Return true if the array is not null and has non-zero length.
- norm - Variable in enum org.apache.commons.numbers.quaternion.Quaternion.Type
- norm() - Method in class org.apache.commons.numbers.complex.Complex
-
Returns the squared norm value of this complex number.
- norm() - Method in class org.apache.commons.numbers.quaternion.Quaternion
-
Computes the norm of the quaternion.
- norm(Quaternion) - Method in enum org.apache.commons.numbers.quaternion.Quaternion.Type
- Norm - Enum in org.apache.commons.numbers.core
-
Norm functions.
- Norm(Norm) - Constructor for enum org.apache.commons.numbers.core.Norm
- Norm(Norm.Two, Norm.Three, Norm.Array) - Constructor for enum org.apache.commons.numbers.core.Norm
- NORM - Static variable in class org.apache.commons.numbers.quaternion.Quaternion.Type.Default
- NORM - Static variable in class org.apache.commons.numbers.quaternion.Quaternion.Type.Normalized
-
Quaternion.norm()
returns 1. - Norm.Array - Interface in org.apache.commons.numbers.core
-
Function of array argument.
- Norm.Three - Interface in org.apache.commons.numbers.core
-
Function of 3 arguments.
- Norm.Two - Interface in org.apache.commons.numbers.core
-
Function of 2 arguments.
- normalize() - Method in class org.apache.commons.numbers.quaternion.Quaternion
-
Computes the normalized quaternion (the versor of the instance).
- Normalized() - Constructor for class org.apache.commons.numbers.quaternion.Quaternion.Type.Normalized
- NORMALIZED - org.apache.commons.numbers.quaternion.Quaternion.Type
-
Quaternion has unit norm.
- normalizer(double) - Static method in class org.apache.commons.numbers.angle.Angle.Deg
-
Creates an operator for normalizing/reducing an angle.
- normalizer(double) - Static method in class org.apache.commons.numbers.angle.Angle.Rad
-
Creates an operator for normalizing/reducing an angle.
- normalizer(double) - Static method in class org.apache.commons.numbers.angle.Angle.Turn
-
Creates an operator for normalizing/reducing an angle.
- Normalizer(double, double) - Constructor for class org.apache.commons.numbers.angle.Angle.Normalizer
-
Note: It is assumed that both arguments have the same unit.
- normSq - Variable in enum org.apache.commons.numbers.quaternion.Quaternion.Type
- normSq() - Method in class org.apache.commons.numbers.quaternion.Quaternion
-
Computes the square of the norm of the quaternion.
- normSq(Quaternion) - Method in enum org.apache.commons.numbers.quaternion.Quaternion.Type
- NORMSQ - Static variable in class org.apache.commons.numbers.quaternion.Quaternion.Type.Default
- NOT_FINITE - Static variable in class org.apache.commons.numbers.fraction.BigFraction
-
Message for non-finite input double argument to factory constructors.
- NOT_FINITE - Static variable in class org.apache.commons.numbers.fraction.Fraction
-
Message for non-finite input double argument to factory constructors.
- nthRoot(int) - Method in class org.apache.commons.numbers.complex.Complex
-
Returns the n-th roots of this complex number.
- NUMBER_OF_PARTS - Static variable in class org.apache.commons.numbers.quaternion.Quaternion
-
The number of parts when parsing a text representation of the quaternion.
- NUMBER_TOO_SMALL - Static variable in class org.apache.commons.numbers.primes.Primes
-
Exception message format when an argument is too small.
- NumbersArithmeticException(String, Object...) - Constructor for exception org.apache.commons.numbers.core.ArithmeticUtils.NumbersArithmeticException
-
Constructor with a specific message.
- numerator - Variable in class org.apache.commons.numbers.fraction.BigFraction
-
The numerator of this fraction reduced to lowest terms.
- numerator - Variable in class org.apache.commons.numbers.fraction.Fraction
-
The numerator of this fraction reduced to lowest terms.
O
- of(double) - Static method in class org.apache.commons.numbers.angle.Angle.Deg
- of(double) - Static method in class org.apache.commons.numbers.angle.Angle.Rad
- of(double) - Static method in class org.apache.commons.numbers.angle.Angle.Turn
- of(double) - Static method in class org.apache.commons.numbers.core.Sum
-
Creates an instance initialized to the given value.
- of(double) - Static method in class org.apache.commons.numbers.field.FP64
-
Factory.
- of(double[]) - Method in interface org.apache.commons.numbers.core.Norm.Array
- 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[]) - Static method in class org.apache.commons.numbers.quaternion.Quaternion
-
Builds a pure quaternion from a vector (assuming that the scalar part is zero).
- of(double, double) - Method in enum org.apache.commons.numbers.core.Norm
-
Computes the norm.
- of(double, double) - Method in interface org.apache.commons.numbers.core.Norm.Two
- of(double, double) - Static method in class org.apache.commons.numbers.fraction.GeneralizedContinuedFraction.Coefficient
-
Create a new coefficient.
- of(double, double[]) - Static method in class org.apache.commons.numbers.quaternion.Quaternion
-
Builds a quaternion from scalar and vector parts.
- of(double, double, double) - Method in enum org.apache.commons.numbers.core.Norm
-
Computes the norm.
- of(double, double, double) - Method in interface org.apache.commons.numbers.core.Norm.Three
- of(double, double, double, double) - Static method in class org.apache.commons.numbers.quaternion.Quaternion
-
Builds a quaternion from its components.
- of(int) - Static method in class org.apache.commons.numbers.fraction.BigFraction
-
Create a fraction given the numerator.
- of(int) - Static method in class org.apache.commons.numbers.fraction.Fraction
-
Create a fraction given the numerator.
- of(int...) - Static method in class org.apache.commons.numbers.arrays.MultidimensionalCounter
-
Creates a counter.
- of(int, int) - Static method in class org.apache.commons.numbers.combinatorics.Combinations
- of(int, int) - Static method in class org.apache.commons.numbers.fraction.BigFraction
-
Create a fraction given the numerator and denominator.
- of(int, int) - Static method in class org.apache.commons.numbers.fraction.Fraction
-
Create a fraction given the numerator and denominator.
- of(long) - Static method in class org.apache.commons.numbers.fraction.BigFraction
-
Create a fraction given the numerator.
- of(long, long) - Static method in class org.apache.commons.numbers.fraction.BigFraction
-
Create a fraction given the numerator and denominator.
- of(BigInteger) - Static method in class org.apache.commons.numbers.fraction.BigFraction
-
Create a fraction given the numerator.
- of(BigInteger, BigInteger) - Static method in class org.apache.commons.numbers.fraction.BigFraction
-
Create a fraction given the numerator and denominator.
- ofCartesian(double, double) - Static method in class org.apache.commons.numbers.complex.Complex
-
Create a complex number given the real and imaginary parts.
- ofCis(double) - Static method in class org.apache.commons.numbers.complex.Complex
-
Create a complex cis number.
- offset - Variable in class org.apache.commons.numbers.angle.Reduce
-
Offset.
- ofPolar(double, double) - Static method in class org.apache.commons.numbers.complex.Complex
-
Creates a complex number from its polar representation using modulus
rho
(\( \rho \)) and phase angletheta
(\( \theta \)). - 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.
- one() - Method in class org.apache.commons.numbers.field.BigFractionField
- one() - Method in interface org.apache.commons.numbers.field.Field
- one() - Method in class org.apache.commons.numbers.field.FP64
-
Identity element.
- one() - Method in class org.apache.commons.numbers.field.FP64Field
- one() - Method in class org.apache.commons.numbers.field.FractionField
- one() - Method in class org.apache.commons.numbers.fraction.BigFraction
- one() - Method in class org.apache.commons.numbers.fraction.Fraction
- ONE - Static variable in class org.apache.commons.numbers.complex.Complex
-
A complex number representing one.
- ONE - Static variable in class org.apache.commons.numbers.field.FP64
-
Multiplicative neutral.
- ONE - Static variable in class org.apache.commons.numbers.field.FP64Field
-
1d.
- ONE - Static variable in class org.apache.commons.numbers.fraction.BigFraction
-
A fraction representing "1".
- ONE - Static variable in class org.apache.commons.numbers.fraction.Fraction
-
A fraction representing "1".
- ONE - Static variable in class org.apache.commons.numbers.quaternion.Quaternion
-
Identity quaternion.
- ONE_OVER_ROOT_PI - Static variable in class org.apache.commons.numbers.gamma.BoostErf
-
1 / sqrt(pi).
- ONE_OVER_ROOT2 - Static variable in class org.apache.commons.numbers.complex.Complex
-
1.0 / sqrt(2)
. - org.apache.commons.numbers.angle - package org.apache.commons.numbers.angle
-
Angle-related utilities.
- org.apache.commons.numbers.arrays - package org.apache.commons.numbers.arrays
-
Array utilities.
- org.apache.commons.numbers.combinatorics - package org.apache.commons.numbers.combinatorics
-
Combinatorics.
- org.apache.commons.numbers.complex - package org.apache.commons.numbers.complex
-
Complex numbers.
- org.apache.commons.numbers.core - package org.apache.commons.numbers.core
-
Basic utilities.
- org.apache.commons.numbers.field - package org.apache.commons.numbers.field
-
Field-related utilities.
- org.apache.commons.numbers.fraction - package org.apache.commons.numbers.fraction
-
Fraction number type and fraction number formatting.
- org.apache.commons.numbers.gamma - package org.apache.commons.numbers.gamma
-
Γ (Gamma) and Β (Beta) family of functions.
- org.apache.commons.numbers.primes - package org.apache.commons.numbers.primes
-
Methods related to prime numbers like primality test, factor decomposition.
- org.apache.commons.numbers.quaternion - package org.apache.commons.numbers.quaternion
-
Quaternion number type.
- org.apache.commons.numbers.rootfinder - package org.apache.commons.numbers.rootfinder
-
Root finding utilities.
- OUT_OF_RANGE - Static variable in exception org.apache.commons.numbers.combinatorics.CombinatoricsException
-
Error message for "out of range" condition.
- OUT_OF_RANGE - Static variable in exception org.apache.commons.numbers.gamma.GammaException
-
Error message for "out of range" condition.
- OUT_OF_RANGE - Static variable in exception org.apache.commons.numbers.rootfinder.SolverException
-
Error message for "out of range" condition.
- OVERFLOW - Static variable in class org.apache.commons.numbers.fraction.BigFraction
-
The overflow limit for conversion from a double (2^31).
- OVERFLOW - Static variable in class org.apache.commons.numbers.fraction.Fraction
-
The overflow limit for conversion from a double (2^31).
- OVERFLOW_GCD_MESSAGE_2_POWER_63 - Static variable in class org.apache.commons.numbers.core.ArithmeticUtils
-
Overflow gcd exception message for 2^63.
P
- P() - Constructor for class org.apache.commons.numbers.gamma.RegularizedGamma.P
-
Prevent instantiation.
- PairDoubleInteger(double, int) - Constructor for class org.apache.commons.numbers.arrays.SortInPlace.PairDoubleInteger
- parse(String) - Static method in class org.apache.commons.numbers.complex.Complex
-
Returns a
Complex
instance representing the specified strings
. - parse(String) - Static method in class org.apache.commons.numbers.fraction.BigFraction
-
Returns a
BigFraction
instance representing the specified strings
. - parse(String) - Static method in class org.apache.commons.numbers.fraction.Fraction
-
Returns a
Fraction
instance representing the specified strings
. - parse(String) - Static method in class org.apache.commons.numbers.quaternion.Quaternion
-
Parses a string that would be produced by
Quaternion.toString()
and instantiates the corresponding object. - parsingExceptionMsg(String, Object, String) - Static method in class org.apache.commons.numbers.complex.Complex
-
Creates an exception message.
- period - Variable in class org.apache.commons.numbers.angle.Angle.Normalizer
-
Period.
- period - Variable in class org.apache.commons.numbers.angle.Reduce
-
Period.
- PI - Static variable in class org.apache.commons.numbers.angle.Angle.Rad
-
π.
- PI_OVER_2 - Static variable in class org.apache.commons.numbers.complex.Complex
-
π/2.
- PI_OVER_4 - Static variable in class org.apache.commons.numbers.complex.Complex
-
π/4.
- PI_OVER_TWO - Static variable in class org.apache.commons.numbers.angle.Angle
-
π/2.
- PN_SIZE - Static variable in class org.apache.commons.numbers.gamma.BoostBeta
-
Size of the table of Pn's.
- Policy - Class in org.apache.commons.numbers.gamma
-
Encapsulate the policy for function evaluation.
- Policy(double, int) - Constructor for class org.apache.commons.numbers.gamma.Policy
-
Instantiates a new policy.
- POSITIVE_POLAR_FORM - org.apache.commons.numbers.quaternion.Quaternion.Type
-
Quaternion has positive scalar part.
- POSITIVE_ZERO - Static variable in class org.apache.commons.numbers.core.Precision
-
Positive zero.
- positivePolarForm() - Method in class org.apache.commons.numbers.quaternion.Quaternion
-
Returns the polar form of the quaternion.
- pow(double) - Method in class org.apache.commons.numbers.complex.Complex
-
Returns the complex power of this complex number raised to the power of
x
, withx
interpreted as a real number. - pow(int) - Method in interface org.apache.commons.numbers.core.NativeOperators
-
Repeated multiplication.
- pow(int) - Method in class org.apache.commons.numbers.field.FP64
-
Repeated multiplication.
- pow(int) - Method in class org.apache.commons.numbers.fraction.BigFraction
-
Returns a
BigFraction
whose value isthisexponent
, returning the result in reduced form. - pow(int) - Method in class org.apache.commons.numbers.fraction.Fraction
-
Returns a
Fraction
whose value isthisexponent
, returning the result in reduced form. - 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.
- pow(Complex) - Method in class org.apache.commons.numbers.complex.Complex
-
Returns the complex power of this complex number raised to the power of
x
. - powm1(double, double) - Static method in class org.apache.commons.numbers.gamma.BoostMath
-
Returns
pow(x, y) - 1
. - Precision - Class in org.apache.commons.numbers.core
-
Utilities for comparing numbers.
- Precision() - Constructor for class org.apache.commons.numbers.core.Precision
-
Private constructor.
- 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.
- PRIME_NUMBERS_AND_COPRIME_EQUIVALENCE_CLASSES - Static variable in class org.apache.commons.numbers.primes.SmallPrimes
-
A set of prime numbers mapped to an array of all integers between 0 (inclusive) and the least common multiple, i.e.
- primeFactors(int) - Static method in class org.apache.commons.numbers.primes.Primes
-
Prime factors decomposition.
- Primes - Class in org.apache.commons.numbers.primes
-
Methods related to prime numbers in the range of
int
. - Primes() - Constructor for class org.apache.commons.numbers.primes.Primes
-
Utility class.
- PRIMES - Static variable in class org.apache.commons.numbers.primes.SmallPrimes
-
The first 512 prime numbers.
- PRIMES_LAST - Static variable in class org.apache.commons.numbers.primes.SmallPrimes
-
The last number in
SmallPrimes.PRIMES
. - productLow(double, double, double) - Static method in class org.apache.commons.numbers.core.ExtendedPrecision
-
Compute the low part of the double length number
(z,zz)
for the exact product ofx
andy
. - productLow(double, double, double, double, double) - Static method in class org.apache.commons.numbers.core.ExtendedPrecision
-
Compute the low part of the double length number
(z,zz)
for the exact product ofx
andy
using Dekker's mult12 algorithm. - productLowUnscaled(double, double, double) - Static method in class org.apache.commons.numbers.core.ExtendedPrecision
-
Compute the low part of the double length number
(z,zz)
for the exact product ofx
andy
using Dekker's mult12 algorithm. - proj() - Method in class org.apache.commons.numbers.complex.Complex
-
Returns the projection of this complex number onto the Riemann sphere.
Q
- Q() - Constructor for class org.apache.commons.numbers.gamma.RegularizedGamma.Q
-
Prevent instantiation.
- Quaternion - Class in org.apache.commons.numbers.quaternion
-
This class implements quaternions (Hamilton's hypercomplex numbers).
- Quaternion(Quaternion.Type, double, double, double, double) - Constructor for class org.apache.commons.numbers.quaternion.Quaternion
-
Builds a quaternion from its components.
- Quaternion(Quaternion.Type, Quaternion) - Constructor for class org.apache.commons.numbers.quaternion.Quaternion
-
Copies the given quaternion, but change its
Quaternion.Type
. - Quaternion.QuaternionParsingException - Exception in org.apache.commons.numbers.quaternion
- Quaternion.Type - Enum in org.apache.commons.numbers.quaternion
-
For enabling optimized implementations.
- Quaternion.Type.Default - Class in org.apache.commons.numbers.quaternion
-
Default implementations.
- Quaternion.Type.Normalized - Class in org.apache.commons.numbers.quaternion
-
Implementations for normalized quaternions.
- QuaternionParsingException(String) - Constructor for exception org.apache.commons.numbers.quaternion.Quaternion.QuaternionParsingException
- QuaternionParsingException(String, Throwable) - Constructor for exception org.apache.commons.numbers.quaternion.Quaternion.QuaternionParsingException
R
- Rad(double) - Constructor for class org.apache.commons.numbers.angle.Angle.Rad
- RAD_TO_DEG - Static variable in class org.apache.commons.numbers.angle.Angle
-
Radians to degrees conversion factor.
- real - Variable in class org.apache.commons.numbers.complex.Complex
-
The real part.
- real() - Method in class org.apache.commons.numbers.complex.Complex
-
Gets the real part \( a \) of this complex number \( (a + i b) \).
- reciprocal() - Method in interface org.apache.commons.numbers.core.Multiplication
-
Multiplicative inverse.
- reciprocal() - Method in class org.apache.commons.numbers.field.FP64
-
Multiplicative inverse.
- reciprocal() - Method in class org.apache.commons.numbers.fraction.BigFraction
-
Multiplicative inverse.
- reciprocal() - Method in class org.apache.commons.numbers.fraction.Fraction
-
Multiplicative inverse.
- reciprocal(T) - Method in class org.apache.commons.numbers.field.AbstractField
- reciprocal(T) - Method in interface org.apache.commons.numbers.field.Field
- reduce - Variable in class org.apache.commons.numbers.angle.Angle.Normalizer
-
Normalizer.
- Reduce - Class in org.apache.commons.numbers.angle
-
Reduces
|a - offset|
to the primary interval[0, |period|)
. - Reduce(double, double) - Constructor for class org.apache.commons.numbers.angle.Reduce
- regularisedGammaPrefix(double, double) - Static method in class org.apache.commons.numbers.gamma.BoostGamma
-
Compute (z^a)(e^-z)/tgamma(a).
- RegularizedBeta - Class in org.apache.commons.numbers.gamma
- RegularizedBeta() - Constructor for class org.apache.commons.numbers.gamma.RegularizedBeta
-
Private constructor.
- RegularizedGamma - Class in org.apache.commons.numbers.gamma
- RegularizedGamma() - Constructor for class org.apache.commons.numbers.gamma.RegularizedGamma
-
Private constructor.
- RegularizedGamma.P - Class in org.apache.commons.numbers.gamma
-
Lower regularized Gamma function \( P(a, x) \).
- RegularizedGamma.Q - Class in org.apache.commons.numbers.gamma
-
Upper regularized Gamma function \( Q(a, x) \).
- relativeAccuracy - Variable in class org.apache.commons.numbers.rootfinder.BrentSolver
-
Relative accuracy.
- 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.
- remove() - Method in class org.apache.commons.numbers.combinatorics.Combinations.LexicographicIterator
-
Not supported.
- remove() - Method in class org.apache.commons.numbers.combinatorics.Combinations.SingletonIterator
-
Unsupported.
- 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. - risingFactorialRatio(double, double, int) - Static method in class org.apache.commons.numbers.gamma.BoostBeta
-
Rising factorial ratio.
- ROOT_EPSILON - Static variable in class org.apache.commons.numbers.gamma.BoostGamma
-
Value for the sqrt of the epsilon for relative error.
- ROOT2 - Static variable in class org.apache.commons.numbers.complex.Complex
-
sqrt(2)
. - 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.
- roundAndRightShift(BigInteger, int, boolean) - Static method in class org.apache.commons.numbers.fraction.BigFraction
-
Rounds an integer to the specified power of two (i.e.
S
- S_LIMIT - Static variable in class org.apache.commons.numbers.gamma.Digamma
-
S limit.
- S_LIMIT - Static variable in class org.apache.commons.numbers.gamma.Trigamma
-
S limit.
- SAFE_EXP - Static variable in class org.apache.commons.numbers.complex.Complex
-
A safe maximum double value
m
wheree^m
is not infinite. - SAFE_LOWER - Static variable in class org.apache.commons.numbers.complex.Complex
-
The safe minimum double value
x
to avoid loss of precision/underflow in atanh. - SAFE_MAX - Static variable in class org.apache.commons.numbers.complex.Complex
-
The safe maximum double value
x
to avoid loss of precision in asin/acos. - SAFE_MIN - Static variable in class org.apache.commons.numbers.complex.Complex
-
The safe minimum double value
x
to avoid loss of precision/underflow in asin/acos. - SAFE_MIN - Static variable in class org.apache.commons.numbers.core.Precision
-
Safe minimum, such that
1 / SAFE_MIN
does not overflow. - SAFE_SCALE_UP_THRESH - Static variable in enum org.apache.commons.numbers.core.Norm
-
Threshold for scaling up a single value by
Norm.SCALE_UP
without risking overflow when the value is squared. - SAFE_UPPER - Static variable in class org.apache.commons.numbers.complex.Complex
-
The safe maximum double value
x
to avoid loss of precision in atanh. - SAFE_UPPER - Static variable in class org.apache.commons.numbers.core.ExtendedPrecision
-
The upper limit above which a number may overflow during the split into a high part.
- SCALE_DOWN - Static variable in enum org.apache.commons.numbers.core.Norm
-
Value used to scale down large numbers.
- SCALE_UP - Static variable in enum org.apache.commons.numbers.core.Norm
-
Value used to scale up small numbers.
- serialVersionUID - Static variable in class org.apache.commons.numbers.combinatorics.Combinations.LexicographicComparator
-
Serializable version identifier.
- serialVersionUID - Static variable in exception org.apache.commons.numbers.combinatorics.CombinatoricsException
-
Serializable version identifier.
- serialVersionUID - Static variable in class org.apache.commons.numbers.complex.Complex
-
Serializable version identifier.
- serialVersionUID - Static variable in exception org.apache.commons.numbers.core.ArithmeticUtils.NumbersArithmeticException
-
Serializable version Id.
- serialVersionUID - Static variable in class org.apache.commons.numbers.field.FP64
- serialVersionUID - Static variable in class org.apache.commons.numbers.fraction.BigFraction
-
Serializable version identifier.
- serialVersionUID - Static variable in class org.apache.commons.numbers.fraction.Fraction
-
Serializable version identifier.
- serialVersionUID - Static variable in exception org.apache.commons.numbers.fraction.FractionException
-
Serializable version identifier.
- serialVersionUID - Static variable in exception org.apache.commons.numbers.gamma.GammaException
-
Serializable version identifier.
- serialVersionUID - Static variable in exception org.apache.commons.numbers.quaternion.Quaternion.QuaternionParsingException
-
Serializable version identifier.
- serialVersionUID - Static variable in class org.apache.commons.numbers.quaternion.Quaternion
-
Serializable version identifier.
- serialVersionUID - Static variable in exception org.apache.commons.numbers.rootfinder.SolverException
-
Serializable version identifier.
- signum() - Method in class org.apache.commons.numbers.fraction.BigFraction
-
Retrieves the sign of this fraction.
- signum() - Method in class org.apache.commons.numbers.fraction.Fraction
-
Retrieves the sign of this fraction.
- signum(double) - Method in interface org.apache.commons.numbers.core.Precision.DoubleEquivalence
-
Returns the
sign
of the argument. - sin() - Method in class org.apache.commons.numbers.complex.Complex
-
Returns the sine of this complex number.
- SingletonIterator(int) - Constructor for class org.apache.commons.numbers.combinatorics.Combinations.SingletonIterator
-
Create a singleton iterator providing the given array.
- sinh() - Method in class org.apache.commons.numbers.complex.Complex
-
Returns the hyperbolic sine of this complex number.
- sinh(double, double, Complex.ComplexConstructor) - Static method in class org.apache.commons.numbers.complex.Complex
-
Returns the hyperbolic sine of the complex number.
- sinpx(double) - Static method in class org.apache.commons.numbers.gamma.BoostGamma
-
Ad hoc function calculates x * sin(pi * x), taking extra care near when x is near a whole number.
- sinTheta - Variable in class org.apache.commons.numbers.quaternion.Slerp.Spherical
-
Sine of
Slerp.Spherical.theta
. - size - Variable in class org.apache.commons.numbers.arrays.MultidimensionalCounter
-
Counter sizes.
- Slerp - Class in org.apache.commons.numbers.quaternion
-
Perform spherical linear interpolation (Slerp).
- Slerp(Quaternion, Quaternion) - Constructor for class org.apache.commons.numbers.quaternion.Slerp
- Slerp.Linear - Class in org.apache.commons.numbers.quaternion
-
Linear interpolation, used when the quaternions are too closely aligned.
- Slerp.Spherical - Class in org.apache.commons.numbers.quaternion
-
Spherical interpolation, used when the quaternions are too closely aligned.
- SMALL - Static variable in class org.apache.commons.numbers.fraction.GeneralizedContinuedFraction
-
The value for any number close to zero.
- SMALL_M - Static variable in class org.apache.commons.numbers.combinatorics.BinomialCoefficientDouble
-
The maximum m that can be computed without intermediate overflow for any n.
- SMALL_N - Static variable in class org.apache.commons.numbers.combinatorics.BinomialCoefficient
-
The maximum n that can be computed without intermediate overflow for any m.
- SMALL_N - Static variable in class org.apache.commons.numbers.combinatorics.BinomialCoefficientDouble
-
The maximum n that can be computed without intermediate overflow for any m.
- SMALL_THRESH - Static variable in enum org.apache.commons.numbers.core.Norm
-
Threshold for scaling small numbers.
- SmallPrimes - Class in org.apache.commons.numbers.primes
-
Utility methods to work on primes within the
int
range. - SmallPrimes() - Constructor for class org.apache.commons.numbers.primes.SmallPrimes
-
Utility class.
- smallTrialDivision(int, List<Integer>) - Static method in class org.apache.commons.numbers.primes.SmallPrimes
-
Extract small factors.
- SolverException - Exception in org.apache.commons.numbers.rootfinder
-
Package private exception class with constants for frequently used messages.
- SolverException(String, Object...) - Constructor for exception org.apache.commons.numbers.rootfinder.SolverException
-
Create an exception where the message is constructed by applying the
format()
method fromString
. - SortInPlace - Enum in org.apache.commons.numbers.arrays
-
Sort an array and perform the same reordering of entries on other arrays.
- SortInPlace(Comparator<SortInPlace.PairDoubleInteger>) - Constructor for enum org.apache.commons.numbers.arrays.SortInPlace
- SortInPlace.PairDoubleInteger - Class in org.apache.commons.numbers.arrays
-
Helper data structure holding a (double, integer) pair.
- SpecialMath - Class in org.apache.commons.numbers.gamma
-
Special math functions.
- SpecialMath() - Constructor for class org.apache.commons.numbers.gamma.SpecialMath
-
Private constructor.
- Spherical(double) - Constructor for class org.apache.commons.numbers.quaternion.Slerp.Spherical
- splitHigh(double) - Static method in class org.apache.commons.numbers.complex.Complex
-
Implement Dekker's method to split a value into two parts.
- sqrt() - Method in class org.apache.commons.numbers.complex.Complex
-
Returns the square root of this complex number.
- sqrt(double, double) - Static method in class org.apache.commons.numbers.complex.Complex
-
Returns the square root of the complex number
sqrt(x + i y)
. - SQRT_SAFE_UPPER - Static variable in class org.apache.commons.numbers.complex.Complex
-
The safe maximum double value
x
to avoid overflow in sqrt. - squareLow(double, double, double) - Static method in class org.apache.commons.numbers.complex.Complex
-
Compute the round-off from the square of a split number with
low
andhigh
components. - squareLow(double, double, double) - Static method in class org.apache.commons.numbers.gamma.BoostErf
-
Compute the low part of the double length number
(z,zz)
for the exact square ofx
using Dekker's mult12 algorithm. - squareLowUnscaled(double, double) - Static method in class org.apache.commons.numbers.core.ExtendedPrecision
-
Compute the low part of the double length number
(z,zz)
for the exact square ofx
using Dekker's mult12 algorithm. - squareLowUnscaled(double, double) - Static method in class org.apache.commons.numbers.gamma.BoostErf
-
Compute the low part of the double length number
(z,zz)
for the exact square ofx
using Dekker's mult12 algorithm. - start - Variable in class org.apache.commons.numbers.quaternion.Slerp
-
Start of the interpolation.
- subtract(double) - Method in class org.apache.commons.numbers.complex.Complex
-
Returns a
Complex
whose value is(this - subtrahend)
, withsubtrahend
interpreted as a real number. - subtract(int) - Method in class org.apache.commons.numbers.fraction.BigFraction
-
Subtracts the specified
value
from this fraction, returning the result in reduced form. - subtract(int) - Method in class org.apache.commons.numbers.fraction.Fraction
-
Subtracts the specified
value
from this fraction, returning the result in reduced form. - subtract(long) - Method in class org.apache.commons.numbers.fraction.BigFraction
-
Subtracts the specified
value
from this fraction, returning the result in reduced form. - subtract(BigInteger) - Method in class org.apache.commons.numbers.fraction.BigFraction
-
Subtracts the specified
value
from this fraction, returning the result in reduced form. - subtract(Complex) - Method in class org.apache.commons.numbers.complex.Complex
-
Returns a
Complex
whose value is(this - subtrahend)
. - subtract(FP64) - Method in class org.apache.commons.numbers.field.FP64
-
Binary subtraction.
- subtract(BigFraction) - Method in class org.apache.commons.numbers.fraction.BigFraction
-
Subtracts the specified
value
from this fraction, returning the result in reduced form. - subtract(Fraction) - Method in class org.apache.commons.numbers.fraction.Fraction
-
Subtracts the specified
value
from this fraction, returning the result in reduced form. - subtract(Quaternion) - Method in class org.apache.commons.numbers.quaternion.Quaternion
-
Subtracts a quaternion from the instance.
- subtract(Quaternion, Quaternion) - Static method in class org.apache.commons.numbers.quaternion.Quaternion
-
Subtracts two quaternions.
- subtract(T) - Method in interface org.apache.commons.numbers.core.NativeOperators
-
Binary subtraction.
- subtract(T, T) - Method in class org.apache.commons.numbers.field.AbstractField
- subtract(T, T) - Method in interface org.apache.commons.numbers.field.Field
- subtractFrom(double) - Method in class org.apache.commons.numbers.complex.Complex
-
Returns a
Complex
whose value is(minuend - this)
, withminuend
interpreted as a real number. - subtractFromImaginary(double) - Method in class org.apache.commons.numbers.complex.Complex
-
Returns a
Complex
whose value is(this - subtrahend)
, withminuend
interpreted as an imaginary number. - subtractImaginary(double) - Method in class org.apache.commons.numbers.complex.Complex
-
Returns a
Complex
whose value is(this - subtrahend)
, withsubtrahend
interpreted as an imaginary number. - sum - Variable in class org.apache.commons.numbers.core.Sum
-
Standard sum.
- Sum - Class in org.apache.commons.numbers.core
-
Class providing accurate floating-point sums and linear combinations.
- Sum(double) - Constructor for class org.apache.commons.numbers.core.Sum
-
Constructs a new instance with the given initial value.
- sumDeltaMinusDeltaSum(double, double) - Static method in class org.apache.commons.numbers.gamma.LogBeta
-
Returns the value of \( \Delta(p) + \Delta(q) - \Delta(p + q) \), with \( p, q \geq 10 \).
- sumLow(double, double, double) - Static method in class org.apache.commons.numbers.complex.Complex
-
Compute the round-off from the sum of two numbers
a
andb
using Knuth's two-sum algorithm. - sumSeries(DoubleSupplier, double, int) - Static method in class org.apache.commons.numbers.gamma.BoostTools
-
Sum the series.
- sumSeries(DoubleSupplier, double, int, double) - Static method in class org.apache.commons.numbers.gamma.BoostTools
-
Sum the series.
- sumx2y2m1(double, double, double, double) - Static method in class org.apache.commons.numbers.complex.Complex
-
Sum x^2 + y^2 - 1.
T
- tan() - Method in class org.apache.commons.numbers.complex.Complex
-
Returns the tangent of this complex number.
- tanh() - Method in class org.apache.commons.numbers.complex.Complex
-
Returns the hyperbolic tangent of this complex number.
- tanh(double, double, Complex.ComplexConstructor) - Static method in class org.apache.commons.numbers.complex.Complex
-
Returns the hyperbolic tangent of this complex number.
- TEN - Static variable in class org.apache.commons.numbers.gamma.LogBeta
-
The threshold value of 10 where the series expansion of the \( \Delta \) function applies.
- testIsUnit - Variable in enum org.apache.commons.numbers.quaternion.Quaternion.Type
- tgamma(double) - Static method in class org.apache.commons.numbers.gamma.BoostGamma
-
Gamma function.
- tgamma(double, double) - Static method in class org.apache.commons.numbers.gamma.BoostGamma
-
Full upper incomplete gamma.
- tgamma(double, double, Policy) - Static method in class org.apache.commons.numbers.gamma.BoostGamma
-
Full upper incomplete gamma.
- tgamma1pm1(double) - Static method in class org.apache.commons.numbers.gamma.BoostGamma
-
Calculates tgamma(1+dz)-1.
- tgammaDeltaRatio(double, double) - Static method in class org.apache.commons.numbers.gamma.BoostGamma
-
Ratio of gamma functions.
- tgammaDeltaRatioImpLanczos(double, double) - Static method in class org.apache.commons.numbers.gamma.BoostGamma
-
Ratio of gamma functions using Lanczos support.
- tgammaLower(double, double) - Static method in class org.apache.commons.numbers.gamma.BoostGamma
-
Full lower incomplete gamma.
- tgammaLower(double, double, Policy) - Static method in class org.apache.commons.numbers.gamma.BoostGamma
-
Full lower incomplete gamma.
- tgammaRatio(double, double) - Static method in class org.apache.commons.numbers.gamma.BoostGamma
-
Ratio of gamma functions.
- tgammaSmallUpperPart(double, double, Policy, double[], boolean) - Static method in class org.apache.commons.numbers.gamma.BoostGamma
-
Upper gamma fraction for very small a.
- theta - Variable in class org.apache.commons.numbers.quaternion.Slerp.Spherical
-
Angle of rotation.
- THOUSAND - Static variable in class org.apache.commons.numbers.gamma.LogBeta
-
The threshold value of 1000 for algorithm switch.
- three - Variable in enum org.apache.commons.numbers.core.Norm
-
Function of 3 arguments.
- TO_STRING_SIZE - Static variable in class org.apache.commons.numbers.complex.Complex
-
The size of the buffer for
Complex.toString()
. - toDeg() - Method in class org.apache.commons.numbers.angle.Angle.Deg
- toDeg() - Method in class org.apache.commons.numbers.angle.Angle.Rad
- toDeg() - Method in class org.apache.commons.numbers.angle.Angle
- toDeg() - Method in class org.apache.commons.numbers.angle.Angle.Turn
- toFloatingPointBits(int, int) - Method in class org.apache.commons.numbers.fraction.BigFraction
-
Calculates the sign bit, the biased exponent and the significand for a binary floating-point representation of this
BigFraction
according to the IEEE 754 standard, and encodes these values into along
variable. - toMulti(int) - Method in class org.apache.commons.numbers.arrays.MultidimensionalCounter
-
Converts to a multidimensional counter.
- TOO_LARGE - Static variable in exception org.apache.commons.numbers.rootfinder.SolverException
-
Error message for "too large" condition.
- toRad() - Method in class org.apache.commons.numbers.angle.Angle.Deg
- toRad() - Method in class org.apache.commons.numbers.angle.Angle.Rad
- toRad() - Method in class org.apache.commons.numbers.angle.Angle
- toRad() - Method in class org.apache.commons.numbers.angle.Angle.Turn
- toString() - Method in class org.apache.commons.numbers.arrays.MultidimensionalCounter
- toString() - Method in class org.apache.commons.numbers.complex.Complex
-
Returns a string representation of the complex number.
- toString() - Method in class org.apache.commons.numbers.field.FP64
- toString() - Method in class org.apache.commons.numbers.fraction.BigFraction
-
Returns the
String
representing this fraction. - toString() - Method in class org.apache.commons.numbers.fraction.Fraction
-
Returns the
String
representing this fraction. - toString() - Method in class org.apache.commons.numbers.quaternion.Quaternion
- totalSize - Variable in class org.apache.commons.numbers.arrays.MultidimensionalCounter
-
Total number of (one-dimensional) slots.
- toTurn() - Method in class org.apache.commons.numbers.angle.Angle.Deg
- toTurn() - Method in class org.apache.commons.numbers.angle.Angle.Rad
- toTurn() - Method in class org.apache.commons.numbers.angle.Angle
- toTurn() - Method in class org.apache.commons.numbers.angle.Angle.Turn
- toUni(int...) - Method in class org.apache.commons.numbers.arrays.MultidimensionalCounter
-
Converts to a unidimensional counter.
- trialDivision(int) - Static method in class org.apache.commons.numbers.primes.SmallPrimes
-
Factorization by trial division.
- Trigamma - Class in org.apache.commons.numbers.gamma
- Trigamma() - Constructor for class org.apache.commons.numbers.gamma.Trigamma
-
Private constructor.
- Turn(double) - Constructor for class org.apache.commons.numbers.angle.Angle.Turn
- TURN_TO_DEG - Static variable in class org.apache.commons.numbers.angle.Angle
-
Turns to degrees conversion factor.
- two - Variable in enum org.apache.commons.numbers.core.Norm
-
Function of 2 arguments.
- TWO - Static variable in class org.apache.commons.numbers.gamma.LogBeta
-
The threshold value of 2 for algorithm switch.
- TWO_PI - Static variable in class org.apache.commons.numbers.angle.Angle.Rad
-
2π.
- TWO_PI - Static variable in class org.apache.commons.numbers.angle.Angle
-
2π.
- TWO_POW_53 - Static variable in class org.apache.commons.numbers.gamma.BoostBeta
-
2^53.
- TWO_POW_53 - Static variable in class org.apache.commons.numbers.gamma.BoostGamma
-
2^53.
- TWO_POW_600 - Static variable in class org.apache.commons.numbers.complex.Complex
-
2^600.
- TWO_POW_M12 - Static variable in class org.apache.commons.numbers.gamma.SpecialMath
-
2^-12.
- TWO_POW_M20 - Static variable in class org.apache.commons.numbers.gamma.SpecialMath
-
2^-20.
- TWO_POW_M53 - Static variable in class org.apache.commons.numbers.gamma.BoostBeta
-
2^-53.
- TWO_POW_M53 - Static variable in class org.apache.commons.numbers.gamma.SpecialMath
-
2^-53.
- TWO_POW_M6 - Static variable in class org.apache.commons.numbers.gamma.SpecialMath
-
2^-6.
- TWO_POW_NEG_600 - Static variable in class org.apache.commons.numbers.complex.Complex
-
2^-600.
- twoSumLow(double, double, double) - Static method in class org.apache.commons.numbers.core.ExtendedPrecision
-
Compute the round-off from the sum of two numbers
a
andb
using Knuth's two-sum algorithm. - type - Variable in class org.apache.commons.numbers.quaternion.Quaternion
-
For enabling specialized method implementations.
- Type(ToDoubleFunction<Quaternion>, ToDoubleFunction<Quaternion>, BiPredicate<Quaternion, Double>) - Constructor for enum org.apache.commons.numbers.quaternion.Quaternion.Type
U
- uncheckedFactorial(int) - Static method in class org.apache.commons.numbers.combinatorics.Factorial
-
Return the factorial of
n
. - uncheckedFactorial(int) - Static method in class org.apache.commons.numbers.gamma.BoostGamma
-
Returns the factorial of n.
- uniCounterOffset - Variable in class org.apache.commons.numbers.arrays.MultidimensionalCounter
-
Offset for each dimension.
- UNSIGN_MASK - Static variable in class org.apache.commons.numbers.complex.Complex
-
Mask to remove the sign bit from a long.
- UP_SCALE - Static variable in class org.apache.commons.numbers.core.ExtendedPrecision
-
The scale to use when re-scaling during a split into a high part.
- updateIfCloseToZero(double) - Static method in class org.apache.commons.numbers.fraction.GeneralizedContinuedFraction
-
Returns the value, or if close to zero returns a small epsilon of the same sign.
- Upper() - Constructor for class org.apache.commons.numbers.gamma.IncompleteGamma.Upper
-
No instances.
- upperGammaFraction(double, double, Policy) - Static method in class org.apache.commons.numbers.gamma.BoostGamma
-
Upper gamma fraction.
V
- value - Variable in class org.apache.commons.numbers.angle.Angle
-
Value (unit depends on concrete instance).
- value - Variable in class org.apache.commons.numbers.arrays.SortInPlace.PairDoubleInteger
-
Value.
- value - Variable in class org.apache.commons.numbers.field.FP64
-
Value.
- value() - Method in class org.apache.commons.numbers.arrays.SortInPlace.PairDoubleInteger
- value(double) - Static method in class org.apache.commons.numbers.gamma.Digamma
-
Computes the digamma function.
- value(double) - Static method in class org.apache.commons.numbers.gamma.Erf
-
Returns the error function.
- value(double) - Static method in class org.apache.commons.numbers.gamma.Erfc
-
Returns the complementary error function.
- value(double) - Static method in class org.apache.commons.numbers.gamma.Erfcx
-
Returns the scaled complementary error function.
- value(double) - Static method in class org.apache.commons.numbers.gamma.Gamma
-
Computes the value of \( \Gamma(x) \).
- value(double) - Static method in class org.apache.commons.numbers.gamma.InverseErf
-
Returns the inverse error function.
- value(double) - Static method in class org.apache.commons.numbers.gamma.InverseErfc
-
Returns the inverse complementary error function.
- value(double) - Static method in class org.apache.commons.numbers.gamma.InvGamma1pm1
-
Computes the function \( \frac{1}{\Gamma(1 + x)} - 1 \) for
-0.5 <= x <= 1.5
. - value(double) - Static method in class org.apache.commons.numbers.gamma.LanczosApproximation
-
Computes the Lanczos approximation.
- value(double) - Static method in class org.apache.commons.numbers.gamma.LogGamma
-
Computes the function \( \ln \lvert \Gamma(x) \rvert \), the natural logarithm of the absolute value of \( \Gamma(x) \).
- value(double) - Static method in class org.apache.commons.numbers.gamma.LogGamma1p
-
Computes the function \( \ln \Gamma(1 + x) \) for \( -0.5 \leq x \leq 1.5 \).
- value(double) - Static method in class org.apache.commons.numbers.gamma.Trigamma
-
Computes the trigamma function.
- value(double[], double[]) - Static method in class org.apache.commons.numbers.angle.CosAngle
-
Computes the cosine of the angle between
v1
andv2
. - value(double, double) - Static method in class org.apache.commons.numbers.gamma.Beta
-
Computes the value of the beta function B(a, b).
- value(double, double) - Static method in class org.apache.commons.numbers.gamma.ErfDifference
- value(double, double) - Static method in class org.apache.commons.numbers.gamma.GammaRatio
-
Computes the ratio of gamma functions of two values.
- value(double, double) - Static method in class org.apache.commons.numbers.gamma.IncompleteGamma.Lower
-
Computes the lower incomplete gamma function \( \gamma(a, x) \).
- value(double, double) - Static method in class org.apache.commons.numbers.gamma.IncompleteGamma.Upper
-
Computes the upper incomplete gamma function \( \Gamma(a, x) \).
- value(double, double) - Static method in class org.apache.commons.numbers.gamma.LogBeta
-
Returns the value of \( \log B(p, q) \) for \( 0 \leq x \leq 1 \) and \( p, q > 0 \).
- value(double, double) - Static method in class org.apache.commons.numbers.gamma.LogGammaSum
-
Computes the value of log Γ(a + b) for 1 ≤ a, b ≤ 2.
- value(double, double) - Static method in class org.apache.commons.numbers.gamma.RegularizedGamma.P
-
Computes the lower regularized gamma function \( P(a, x) \).
- value(double, double) - Static method in class org.apache.commons.numbers.gamma.RegularizedGamma.Q
-
Computes the upper regularized gamma function \( Q(a, x) \).
- value(double, double, double) - Static method in class org.apache.commons.numbers.gamma.IncompleteBeta
-
Computes the value of the incomplete beta function B(x, a, b).
- value(double, double, double) - Static method in class org.apache.commons.numbers.gamma.RegularizedBeta
-
Computes the value of the regularized beta function I(x, a, b).
- value(double, double, double, double, int) - Static method in class org.apache.commons.numbers.gamma.IncompleteBeta
-
Computes the value of the incomplete beta function B(x, a, b).
- value(double, double, double, double, int) - Static method in class org.apache.commons.numbers.gamma.RegularizedBeta
-
Computes the value of the regularized beta function I(x, a, b).
- value(double, double, double, int) - Static method in class org.apache.commons.numbers.gamma.IncompleteGamma.Lower
-
Computes the lower incomplete gamma function \( \gamma(a, x) \).
- value(double, double, double, int) - Static method in class org.apache.commons.numbers.gamma.IncompleteGamma.Upper
-
Computes the upper incomplete gamma function \( \Gamma(a, x) \).
- value(double, double, double, int) - Static method in class org.apache.commons.numbers.gamma.RegularizedGamma.P
-
Computes the lower regularized gamma function \( P(a, x) \).
- value(double, double, double, int) - Static method in class org.apache.commons.numbers.gamma.RegularizedGamma.Q
-
Computes the upper regularized gamma function \( Q(a, x) \).
- value(double, int[]) - Static method in class org.apache.commons.numbers.gamma.LogGamma
-
Computes the function \( \ln \lvert \Gamma(x) \rvert \), the natural logarithm of the absolute value of \( \Gamma(x) \).
- value(double, Supplier<GeneralizedContinuedFraction.Coefficient>) - Static method in class org.apache.commons.numbers.fraction.GeneralizedContinuedFraction
-
Evaluates the continued fraction.
- value(double, Supplier<GeneralizedContinuedFraction.Coefficient>, double) - Static method in class org.apache.commons.numbers.fraction.GeneralizedContinuedFraction
-
Evaluates the continued fraction.
- value(double, Supplier<GeneralizedContinuedFraction.Coefficient>, double, int) - Static method in class org.apache.commons.numbers.fraction.GeneralizedContinuedFraction
-
Evaluates the continued fraction.
- value(int) - Static method in class org.apache.commons.numbers.combinatorics.Factorial
-
Computes the factorial of
n
. - value(int) - Method in class org.apache.commons.numbers.combinatorics.FactorialDouble
-
Deprecated.Since 1.1 this functionality has been replaced with
Factorial.doubleValue(int)
.The result of calling this method is the same as calling the
Factorial.doubleValue(int)
. - value(int) - Method in class org.apache.commons.numbers.combinatorics.LogFactorial
-
Computes \( log_e(n!) \).
- value(int, int) - Static method in class org.apache.commons.numbers.combinatorics.BinomialCoefficient
-
Computes the binomial coefficient.
- value(int, int) - Static method in class org.apache.commons.numbers.combinatorics.BinomialCoefficientDouble
-
Computes the binomial coefficient.
- value(int, int) - Static method in class org.apache.commons.numbers.combinatorics.LogBinomialCoefficient
-
Computes the logarithm of the binomial coefficient.
- value(Supplier<GeneralizedContinuedFraction.Coefficient>) - Static method in class org.apache.commons.numbers.fraction.GeneralizedContinuedFraction
-
Evaluates the continued fraction.
- value(Supplier<GeneralizedContinuedFraction.Coefficient>, double) - Static method in class org.apache.commons.numbers.fraction.GeneralizedContinuedFraction
-
Evaluates the continued fraction.
- value(Supplier<GeneralizedContinuedFraction.Coefficient>, double, int) - Static method in class org.apache.commons.numbers.fraction.GeneralizedContinuedFraction
-
Evaluates the continued fraction.
- valueOf(String) - Static method in enum org.apache.commons.numbers.arrays.SortInPlace
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.commons.numbers.core.Norm
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.commons.numbers.quaternion.Quaternion.Type
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.apache.commons.numbers.arrays.SortInPlace
-
Returns an array containing the constants of this enum type, in the order they are declared.
- 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.
- values() - Static method in enum org.apache.commons.numbers.quaternion.Quaternion.Type
-
Returns an array containing the constants of this enum type, in the order they are declared.
- VECTOR_DIMENSIONS - Static variable in class org.apache.commons.numbers.quaternion.Quaternion
-
The number of dimensions for the vector part of the quaternion.
W
- w - Variable in class org.apache.commons.numbers.quaternion.Quaternion
-
First component (scalar part).
- withCache(int) - Method in class org.apache.commons.numbers.combinatorics.FactorialDouble
-
Deprecated.Since 1.1 this functionality has been replaced with
Factorial.doubleValue(int)
.This class no longer supports a cache. This method returns a reference to the same object.
- withCache(int) - Method in class org.apache.commons.numbers.combinatorics.LogFactorial
-
Creates an instance with the specified cache size.
- WITHIN_0_AND_1 - Static variable in class org.apache.commons.numbers.angle.Angle.Turn
-
Normalizing operator (result will be within the
[0, 1[
interval). - WITHIN_0_AND_2PI - Static variable in class org.apache.commons.numbers.angle.Angle.Rad
-
Normalizing operator (result will be within the
[0, 2π[
interval). - WITHIN_0_AND_360 - Static variable in class org.apache.commons.numbers.angle.Angle.Deg
-
Normalizing operator (result will be within the
[0, 360[
interval). - WITHIN_MINUS_PI_AND_PI - Static variable in class org.apache.commons.numbers.angle.Angle.Rad
-
Normalizing operator (result will be within the
[-π, π[
interval).
X
- x - Variable in class org.apache.commons.numbers.quaternion.Quaternion
-
Second component (first vector part).
- X_CRIT - Static variable in class org.apache.commons.numbers.gamma.ErfDifference
-
This number solves
erf(x) = 0.5
within 1 ulp. - X_HIGH - Static variable in class org.apache.commons.numbers.gamma.SpecialMath
-
High threshold to use log1p(x) - x.
- X_LOW - Static variable in class org.apache.commons.numbers.gamma.SpecialMath
-
Low threshold to use log1p(x) - x.
- X_MIN - Static variable in class org.apache.commons.numbers.gamma.SpecialMath
-
Minimum x for log1pmx(x).
- x2y2(double, double) - Static method in class org.apache.commons.numbers.complex.Complex
-
Return
x^2 + y^2
with high accuracy. - x2y2m1(double, double) - Static method in class org.apache.commons.numbers.complex.Complex
-
Compute
x^2 + y^2 - 1
in high precision.
Y
- y - Variable in class org.apache.commons.numbers.quaternion.Quaternion
-
Third component (second vector part).
Z
- z - Variable in class org.apache.commons.numbers.quaternion.Quaternion
-
Fourth component (third vector part).
- zero() - Method in interface org.apache.commons.numbers.core.Addition
-
Identity element.
- zero() - Method in class org.apache.commons.numbers.field.BigFractionField
- zero() - Method in interface org.apache.commons.numbers.field.Field
- zero() - Method in class org.apache.commons.numbers.field.FP64
-
Identity element.
- zero() - Method in class org.apache.commons.numbers.field.FP64Field
- zero() - Method in class org.apache.commons.numbers.field.FractionField
- zero() - Method in class org.apache.commons.numbers.fraction.BigFraction
- zero() - Method in class org.apache.commons.numbers.fraction.Fraction
- ZERO - Static variable in class org.apache.commons.numbers.angle.Angle.Deg
-
Zero.
- ZERO - Static variable in class org.apache.commons.numbers.angle.Angle.Rad
-
Zero.
- ZERO - Static variable in class org.apache.commons.numbers.angle.Angle.Turn
-
Zero.
- ZERO - Static variable in class org.apache.commons.numbers.complex.Complex
-
A complex number representing zero.
- ZERO - Static variable in class org.apache.commons.numbers.field.FP64
-
Additive neutral.
- ZERO - Static variable in class org.apache.commons.numbers.field.FP64Field
-
0d.
- ZERO - Static variable in class org.apache.commons.numbers.fraction.BigFraction
-
A fraction representing "0".
- ZERO - Static variable in class org.apache.commons.numbers.fraction.Fraction
-
A fraction representing "0".
- ZERO - Static variable in class org.apache.commons.numbers.quaternion.Quaternion
-
Zero quaternion.
All Classes All Packages