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

A

abs() - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
Get the absolute value of instance.
abs() - Method in interface org.apache.commons.math4.legacy.core.RealFieldElement
absolute value.
acos() - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
Arc cosine operation.
acos() - Method in interface org.apache.commons.math4.legacy.core.RealFieldElement
Arc cosine operation.
acos(Dfp) - Static method in class org.apache.commons.math4.legacy.core.dfp.DfpMath
computes the arc-cosine of the argument.
acosh() - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
Inverse hyperbolic cosine operation.
acosh() - Method in interface org.apache.commons.math4.legacy.core.RealFieldElement
Inverse hyperbolic cosine operation.
add(double) - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
'+' operator.
add(double) - Method in interface org.apache.commons.math4.legacy.core.RealFieldElement
'+' operator.
add(Dfp) - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
Add x to this.
add(T) - Method in interface org.apache.commons.math4.legacy.core.FieldElement
Compute this + a.
align(int) - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
Make our exp equal to the supplied one, this may cause rounding.
asin() - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
Arc sine operation.
asin() - Method in interface org.apache.commons.math4.legacy.core.RealFieldElement
Arc sine operation.
asin(Dfp) - Static method in class org.apache.commons.math4.legacy.core.dfp.DfpMath
computes the arc-sine of the argument.
asinh() - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
Inverse hyperbolic sine operation.
asinh() - Method in interface org.apache.commons.math4.legacy.core.RealFieldElement
Inverse hyperbolic sine operation.
atan() - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
Arc tangent operation.
atan() - Method in interface org.apache.commons.math4.legacy.core.RealFieldElement
Arc tangent operation.
atan(Dfp) - Static method in class org.apache.commons.math4.legacy.core.dfp.DfpMath
Computes the arc tangent of the argument.
atan2(Dfp) - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
Two arguments arc tangent operation.
atan2(T) - Method in interface org.apache.commons.math4.legacy.core.RealFieldElement
Two arguments arc tangent operation.
atanh() - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
Inverse hyperbolic tangent operation.
atanh() - Method in interface org.apache.commons.math4.legacy.core.RealFieldElement
Inverse hyperbolic tangent operation.
atanInternal(Dfp) - Static method in class org.apache.commons.math4.legacy.core.dfp.DfpMath
computes the arc-tangent of the argument.

B

buildArray(Field<T>, int) - Static method in class org.apache.commons.math4.legacy.core.MathArrays
Build an array of elements.
buildArray(Field<T>, int, int) - Static method in class org.apache.commons.math4.legacy.core.MathArrays
Build a double dimension array of elements.

C

canIncrement() - Method in class org.apache.commons.math4.legacy.core.IntegerSequence.Incrementor
Checks whether incrementing the counter nTimes is allowed.
canIncrement(int) - Method in class org.apache.commons.math4.legacy.core.IntegerSequence.Incrementor
Checks whether incrementing the counter several times is allowed.
cbrt() - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
Cubic root.
cbrt() - Method in interface org.apache.commons.math4.legacy.core.RealFieldElement
Cubic root.
ceil() - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
Round to an integer using the round ceil mode.
ceil() - Method in interface org.apache.commons.math4.legacy.core.RealFieldElement
Get the smallest whole number larger than instance.
checkEqualLength(double[], double[]) - Static method in class org.apache.commons.math4.legacy.core.MathArrays
Check that both arrays have the same length.
checkEqualLength(double[], double[], boolean) - Static method in class org.apache.commons.math4.legacy.core.MathArrays
Check that both arrays have the same length.
checkEqualLength(int[], int[]) - Static method in class org.apache.commons.math4.legacy.core.MathArrays
Check that both arrays have the same length.
checkEqualLength(int[], int[], boolean) - Static method in class org.apache.commons.math4.legacy.core.MathArrays
Check that both arrays have the same length.
checkFinite(double[]) - Static method in class org.apache.commons.math4.legacy.core.MathArrays
Check that all the elements are real numbers.
checkNonNegative(long[]) - Static method in class org.apache.commons.math4.legacy.core.MathArrays
Check that all entries of the input array are >= 0.
checkNonNegative(long[][]) - Static method in class org.apache.commons.math4.legacy.core.MathArrays
Check all entries of the input array are >= 0.
checkNotNaN(double[]) - Static method in class org.apache.commons.math4.legacy.core.MathArrays
Check that no entry of the input array is NaN.
checkOrder(double[]) - Static method in class org.apache.commons.math4.legacy.core.MathArrays
Check that the given array is sorted in strictly increasing order.
checkOrder(double[], MathArrays.OrderDirection, boolean) - Static method in class org.apache.commons.math4.legacy.core.MathArrays
Check that the given array is sorted.
checkOrder(double[], MathArrays.OrderDirection, boolean, boolean) - Static method in class org.apache.commons.math4.legacy.core.MathArrays
Check that the given array is sorted.
checkPositive(double[]) - Static method in class org.apache.commons.math4.legacy.core.MathArrays
Check that all entries of the input array are strictly positive.
checkRectangular(long[][]) - Static method in class org.apache.commons.math4.legacy.core.MathArrays
Throws DimensionMismatchException if the input array is not rectangular.
classify() - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
Returns the type - one of FINITE, INFINITE, SNAN, QNAN.
clearIEEEFlags() - Method in class org.apache.commons.math4.legacy.core.dfp.DfpField
Clears the IEEE 854 status flags.
complement(int) - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
Negate the mantissa of this by computing the complement.
computeExp(Dfp, Dfp) - Static method in class org.apache.commons.math4.legacy.core.dfp.DfpField
Compute exp(a).
computeLn(Dfp, Dfp, Dfp) - Static method in class org.apache.commons.math4.legacy.core.dfp.DfpField
Compute ln(a).
concatenate(double[]...) - Static method in class org.apache.commons.math4.legacy.core.MathArrays
Concatenates a sequence of arrays.
convolve(double[], double[]) - Static method in class org.apache.commons.math4.legacy.core.MathArrays
Calculates the convolution between two sequences.
copySign(double) - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
Returns the instance with the sign of the argument.
copySign(double) - Method in interface org.apache.commons.math4.legacy.core.RealFieldElement
Returns the instance with the sign of the argument.
copySign(Dfp) - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
Returns the instance with the sign of the argument.
copySign(Dfp, Dfp) - Static method in class org.apache.commons.math4.legacy.core.dfp.Dfp
Creates an instance that is the same as x except that it has the sign of y.
copySign(T) - Method in interface org.apache.commons.math4.legacy.core.RealFieldElement
Returns the instance with the sign of the argument.
cos() - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
Cosine operation.
cos() - Method in interface org.apache.commons.math4.legacy.core.RealFieldElement
Cosine operation.
cos(Dfp) - Static method in class org.apache.commons.math4.legacy.core.dfp.DfpMath
computes the cosine of the argument.
cosh() - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
Hyperbolic cosine operation.
cosh() - Method in interface org.apache.commons.math4.legacy.core.RealFieldElement
Hyperbolic cosine operation.
cosInternal(Dfp[]) - Static method in class org.apache.commons.math4.legacy.core.dfp.DfpMath
Computes cos(a) Used when 0 < a < pi/4.
create() - Static method in class org.apache.commons.math4.legacy.core.IntegerSequence.Incrementor
Factory method that creates a default instance.
create(K, V) - Static method in class org.apache.commons.math4.legacy.core.Pair
Convenience factory method that calls the constructor.

D

DECREASING - org.apache.commons.math4.legacy.core.MathArrays.OrderDirection
Constant for decreasing direction.
Dfp - Class in org.apache.commons.math4.legacy.core.dfp
Decimal floating point library for Java
Dfp(Dfp) - Constructor for class org.apache.commons.math4.legacy.core.dfp.Dfp
Copy constructor.
Dfp(DfpField) - Constructor for class org.apache.commons.math4.legacy.core.dfp.Dfp
Makes an instance with a value of zero.
Dfp(DfpField, byte) - Constructor for class org.apache.commons.math4.legacy.core.dfp.Dfp
Create an instance from a byte value.
Dfp(DfpField, byte, byte) - Constructor for class org.apache.commons.math4.legacy.core.dfp.Dfp
Creates an instance with a non-finite value.
Dfp(DfpField, double) - Constructor for class org.apache.commons.math4.legacy.core.dfp.Dfp
Create an instance from a double value.
Dfp(DfpField, int) - Constructor for class org.apache.commons.math4.legacy.core.dfp.Dfp
Create an instance from an int value.
Dfp(DfpField, long) - Constructor for class org.apache.commons.math4.legacy.core.dfp.Dfp
Create an instance from a long value.
Dfp(DfpField, String) - Constructor for class org.apache.commons.math4.legacy.core.dfp.Dfp
Create an instance from a String representation.
dfp2sci() - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
Convert an instance to a string using scientific notation.
dfp2string() - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
Convert an instance to a string using normal notation.
DfpDec - Class in org.apache.commons.math4.legacy.core.dfp
Subclass of Dfp which hides the radix-10000 artifacts of the superclass.
DfpDec(Dfp) - Constructor for class org.apache.commons.math4.legacy.core.dfp.DfpDec
Copy constructor.
DfpDec(DfpField) - Constructor for class org.apache.commons.math4.legacy.core.dfp.DfpDec
Makes an instance with a value of zero.
DfpDec(DfpField, byte) - Constructor for class org.apache.commons.math4.legacy.core.dfp.DfpDec
Create an instance from a byte value.
DfpDec(DfpField, byte, byte) - Constructor for class org.apache.commons.math4.legacy.core.dfp.DfpDec
Creates an instance with a non-finite value.
DfpDec(DfpField, double) - Constructor for class org.apache.commons.math4.legacy.core.dfp.DfpDec
Create an instance from a double value.
DfpDec(DfpField, int) - Constructor for class org.apache.commons.math4.legacy.core.dfp.DfpDec
Create an instance from an int value.
DfpDec(DfpField, long) - Constructor for class org.apache.commons.math4.legacy.core.dfp.DfpDec
Create an instance from a long value.
DfpDec(DfpField, String) - Constructor for class org.apache.commons.math4.legacy.core.dfp.DfpDec
Create an instance from a String representation.
DfpField - Class in org.apache.commons.math4.legacy.core.dfp
Field for Decimal floating point instances.
DfpField(int) - Constructor for class org.apache.commons.math4.legacy.core.dfp.DfpField
Create a factory for the specified number of radix digits.
DfpField.RoundingMode - Enum in org.apache.commons.math4.legacy.core.dfp
Enumerate for rounding modes.
DfpMath - Class in org.apache.commons.math4.legacy.core.dfp
Mathematical routines for use with Dfp.
distance(double[], double[]) - Static method in class org.apache.commons.math4.legacy.core.MathArrays
Calculates the L2 (Euclidean) distance between two points.
distance(int[], int[]) - Static method in class org.apache.commons.math4.legacy.core.MathArrays
Calculates the L2 (Euclidean) distance between two points.
distance1(double[], double[]) - Static method in class org.apache.commons.math4.legacy.core.MathArrays
Calculates the L1 (sum of abs) distance between two points.
distance1(int[], int[]) - Static method in class org.apache.commons.math4.legacy.core.MathArrays
Calculates the L1 (sum of abs) distance between two points.
distanceInf(double[], double[]) - Static method in class org.apache.commons.math4.legacy.core.MathArrays
Calculates the L (max of abs) distance between two points.
distanceInf(int[], int[]) - Static method in class org.apache.commons.math4.legacy.core.MathArrays
Calculates the L (max of abs) distance between two points.
divide(double) - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
'÷' operator.
divide(double) - Method in interface org.apache.commons.math4.legacy.core.RealFieldElement
'÷' operator.
divide(int) - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
Divide by a single digit less than radix.
divide(Dfp) - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
Divide this by divisor.
divide(T) - Method in interface org.apache.commons.math4.legacy.core.FieldElement
Compute this ÷ a.
dotrap(int, String, Dfp, Dfp) - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
Raises a trap.

E

ebeAdd(double[], double[]) - Static method in class org.apache.commons.math4.legacy.core.MathArrays
Creates an array whose contents will be the element-by-element addition of the arguments.
ebeDivide(double[], double[]) - Static method in class org.apache.commons.math4.legacy.core.MathArrays
Creates an array whose contents will be the element-by-element division of the first argument by the second.
ebeMultiply(double[], double[]) - Static method in class org.apache.commons.math4.legacy.core.MathArrays
Creates an array whose contents will be the element-by-element multiplication of the arguments.
ebeSubtract(double[], double[]) - Static method in class org.apache.commons.math4.legacy.core.MathArrays
Creates an array whose contents will be the element-by-element subtraction of the second argument from the first.
equals(double[], double[]) - Static method in class org.apache.commons.math4.legacy.core.MathArrays
Returns true iff both arguments are null or have same dimensions and all their elements are equal as defined by Precision.equals(double,double).
equals(float[], float[]) - Static method in class org.apache.commons.math4.legacy.core.MathArrays
Returns true iff both arguments are null or have same dimensions and all their elements are equal as defined by Precision.equals(float,float).
equals(Object) - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
Check if instance is equal to x.
equals(Object) - Method in class org.apache.commons.math4.legacy.core.Pair
Compare the specified object with this entry for equality.
equalsIncludingNaN(double[], double[]) - Static method in class org.apache.commons.math4.legacy.core.MathArrays
Returns true iff both arguments are null or have same dimensions and all their elements are equal as defined by this method.
equalsIncludingNaN(float[], float[]) - Static method in class org.apache.commons.math4.legacy.core.MathArrays
Returns true iff both arguments are null or have same dimensions and all their elements are equal as defined by this method.
ERR_SCALE - Static variable in class org.apache.commons.math4.legacy.core.dfp.Dfp
The amount under/overflows are scaled by before going to trap handler.
evaluate(double[]) - Method in interface org.apache.commons.math4.legacy.core.MathArrays.Function
Operates on an entire array.
evaluate(double[], int, int) - Method in interface org.apache.commons.math4.legacy.core.MathArrays.Function
 
exp - Variable in class org.apache.commons.math4.legacy.core.dfp.Dfp
Exponent.
exp() - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
Exponential.
exp() - Method in interface org.apache.commons.math4.legacy.core.RealFieldElement
Exponential.
exp(Dfp) - Static method in class org.apache.commons.math4.legacy.core.dfp.DfpMath
Computes e to the given power.
expInternal(Dfp) - Static method in class org.apache.commons.math4.legacy.core.dfp.DfpMath
Computes e to the given power.
expm1() - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
Exponential minus 1.
expm1() - Method in interface org.apache.commons.math4.legacy.core.RealFieldElement
Exponential minus 1.

F

Field<T> - Interface in org.apache.commons.math4.legacy.core
Interface representing a field.
FieldElement<T> - Interface in org.apache.commons.math4.legacy.core
Interface representing field elements.
FINITE - Static variable in class org.apache.commons.math4.legacy.core.dfp.Dfp
Indicator value for normal finite numbers.
FLAG_DIV_ZERO - Static variable in class org.apache.commons.math4.legacy.core.dfp.DfpField
IEEE 854-1987 flag for division by zero.
FLAG_INEXACT - Static variable in class org.apache.commons.math4.legacy.core.dfp.DfpField
IEEE 854-1987 flag for inexact result.
FLAG_INVALID - Static variable in class org.apache.commons.math4.legacy.core.dfp.DfpField
IEEE 854-1987 flag for invalid operation.
FLAG_OVERFLOW - Static variable in class org.apache.commons.math4.legacy.core.dfp.DfpField
IEEE 854-1987 flag for overflow.
FLAG_UNDERFLOW - Static variable in class org.apache.commons.math4.legacy.core.dfp.DfpField
IEEE 854-1987 flag for underflow.
floor() - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
Round to an integer using the round floor mode.
floor() - Method in interface org.apache.commons.math4.legacy.core.RealFieldElement
Get the largest whole number smaller than instance.

G

getCount() - Method in class org.apache.commons.math4.legacy.core.IntegerSequence.Incrementor
Gets the current count.
getDecimalDigits() - Method in class org.apache.commons.math4.legacy.core.dfp.DfpDec
Get the number of decimal digits this class is going to represent.
getE() - Method in class org.apache.commons.math4.legacy.core.dfp.DfpField
Get the constant e.
getESplit() - Method in class org.apache.commons.math4.legacy.core.dfp.DfpField
Get the constant e split in two pieces.
getField() - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
Get the Field (really a DfpField) to which the instance belongs.
getField() - Method in interface org.apache.commons.math4.legacy.core.FieldElement
Get the Field to which the instance belongs.
getFirst() - Method in class org.apache.commons.math4.legacy.core.Pair
Get the first element of the pair.
getIEEEFlags() - Method in class org.apache.commons.math4.legacy.core.dfp.DfpField
Get the IEEE 854 status flags.
getKey() - Method in class org.apache.commons.math4.legacy.core.Pair
Get the key.
getLn10() - Method in class org.apache.commons.math4.legacy.core.dfp.DfpField
Get the constant ln(10).
getLn2() - Method in class org.apache.commons.math4.legacy.core.dfp.DfpField
Get the constant ln(2).
getLn2Split() - Method in class org.apache.commons.math4.legacy.core.dfp.DfpField
Get the constant ln(2) split in two pieces.
getLn5() - Method in class org.apache.commons.math4.legacy.core.dfp.DfpField
Get the constant ln(5).
getLn5Split() - Method in class org.apache.commons.math4.legacy.core.dfp.DfpField
Get the constant ln(5) split in two pieces.
getMaximalCount() - Method in class org.apache.commons.math4.legacy.core.IntegerSequence.Incrementor
Gets the upper limit of the counter.
getOne() - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
Get the constant 1.
getOne() - Method in class org.apache.commons.math4.legacy.core.dfp.DfpField
Get the constant 1.
getOne() - Method in interface org.apache.commons.math4.legacy.core.Field
Get the multiplicative identity of the field.
getPi() - Method in class org.apache.commons.math4.legacy.core.dfp.DfpField
Get the constant π.
getPiSplit() - Method in class org.apache.commons.math4.legacy.core.dfp.DfpField
Get the constant π split in two pieces.
getRadixDigits() - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
Get the number of radix digits of the instance.
getRadixDigits() - Method in class org.apache.commons.math4.legacy.core.dfp.DfpField
Get the number of radix digits of the Dfp instances built by this factory.
getReal() - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
Get the real value of the number.
getReal() - Method in interface org.apache.commons.math4.legacy.core.RealFieldElement
Get the real value of the number.
getRoundingMode() - Method in class org.apache.commons.math4.legacy.core.dfp.DfpField
Get the current rounding mode.
getRuntimeClass() - Method in class org.apache.commons.math4.legacy.core.dfp.DfpField
Returns the runtime class of the FieldElement.
getRuntimeClass() - Method in interface org.apache.commons.math4.legacy.core.Field
Returns the runtime class of the FieldElement.
getSecond() - Method in class org.apache.commons.math4.legacy.core.Pair
Get the second element of the pair.
getSqr2() - Method in class org.apache.commons.math4.legacy.core.dfp.DfpField
Get the constant √2.
getSqr2Reciprocal() - Method in class org.apache.commons.math4.legacy.core.dfp.DfpField
Get the constant √2 / 2.
getSqr2Split() - Method in class org.apache.commons.math4.legacy.core.dfp.DfpField
Get the constant √2 split in two pieces.
getSqr3() - Method in class org.apache.commons.math4.legacy.core.dfp.DfpField
Get the constant √3.
getSqr3Reciprocal() - Method in class org.apache.commons.math4.legacy.core.dfp.DfpField
Get the constant √3 / 3.
getTwo() - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
Get the constant 2.
getTwo() - Method in class org.apache.commons.math4.legacy.core.dfp.DfpField
Get the constant 2.
getValue() - Method in class org.apache.commons.math4.legacy.core.Pair
Get the value.
getZero() - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
Get the constant 0.
getZero() - Method in class org.apache.commons.math4.legacy.core.dfp.DfpField
Get the constant 0.
getZero() - Method in interface org.apache.commons.math4.legacy.core.Field
Get the additive identity of the field.
greaterThan(Dfp) - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
Check if instance is greater than x.

H

hashCode() - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
Gets a hashCode for the instance.
hashCode() - Method in class org.apache.commons.math4.legacy.core.Pair
Compute a hash code.
hasNext() - Method in class org.apache.commons.math4.legacy.core.IntegerSequence.Incrementor
hypot(Dfp) - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
Returns the hypotenuse of a triangle with sides this and y - sqrt(this2 +y2) avoiding intermediate overflow or underflow.
hypot(T) - Method in interface org.apache.commons.math4.legacy.core.RealFieldElement
Returns the hypotenuse of a triangle with sides this and y - sqrt(this2 +y2) avoiding intermediate overflow or underflow.

I

INCREASING - org.apache.commons.math4.legacy.core.MathArrays.OrderDirection
Constant for increasing direction.
increment() - Method in class org.apache.commons.math4.legacy.core.IntegerSequence.Incrementor
Adds the increment value to the current iteration count.
increment(int) - Method in class org.apache.commons.math4.legacy.core.IntegerSequence.Incrementor
Performs multiple increments.
INFINITE - Static variable in class org.apache.commons.math4.legacy.core.dfp.Dfp
Indicator value for Infinity.
IntegerSequence - Class in org.apache.commons.math4.legacy.core
Provides a sequence of integers.
IntegerSequence.Incrementor - Class in org.apache.commons.math4.legacy.core
Utility that increments a counter until a maximum is reached, at which point, the instance will by default throw a MaxCountExceededException.
IntegerSequence.Incrementor.MaxCountExceededCallback - Interface in org.apache.commons.math4.legacy.core
Defines a method to be called at counter exhaustion.
IntegerSequence.Range - Class in org.apache.commons.math4.legacy.core
Generates a sequence of integers.
intLog10() - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
Get the exponent of the greatest power of 10 that is less than or equal to abs(this).
intValue() - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
Convert this to an integer.
isInfinite() - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
Check if instance is infinite.
isMonotonic(double[], MathArrays.OrderDirection, boolean) - Static method in class org.apache.commons.math4.legacy.core.MathArrays
Check that an array is monotonically increasing or decreasing.
isMonotonic(T[], MathArrays.OrderDirection, boolean) - Static method in class org.apache.commons.math4.legacy.core.MathArrays
Check that an array is monotonically increasing or decreasing.
isNaN() - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
Check if instance is not a number.
isZero() - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
Check if instance is equal to zero.
iterator() - Method in class org.apache.commons.math4.legacy.core.IntegerSequence.Range

L

lessThan(Dfp) - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
Check if instance is less than x.
linearCombination(double[], Dfp[]) - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
Compute a linear combination.
linearCombination(double[], T[]) - Method in interface org.apache.commons.math4.legacy.core.RealFieldElement
Compute a linear combination.
linearCombination(double, Dfp, double, Dfp) - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
Compute a linear combination.
linearCombination(double, Dfp, double, Dfp, double, Dfp) - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
Compute a linear combination.
linearCombination(double, Dfp, double, Dfp, double, Dfp, double, Dfp) - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
Compute a linear combination.
linearCombination(double, T, double, T) - Method in interface org.apache.commons.math4.legacy.core.RealFieldElement
Compute a linear combination.
linearCombination(double, T, double, T, double, T) - Method in interface org.apache.commons.math4.legacy.core.RealFieldElement
Compute a linear combination.
linearCombination(double, T, double, T, double, T, double, T) - Method in interface org.apache.commons.math4.legacy.core.RealFieldElement
Compute a linear combination.
linearCombination(Dfp[], Dfp[]) - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
Compute a linear combination.
linearCombination(Dfp, Dfp, Dfp, Dfp) - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
Compute a linear combination.
linearCombination(Dfp, Dfp, Dfp, Dfp, Dfp, Dfp) - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
Compute a linear combination.
linearCombination(Dfp, Dfp, Dfp, Dfp, Dfp, Dfp, Dfp, Dfp) - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
Compute a linear combination.
linearCombination(T[], T[]) - Method in interface org.apache.commons.math4.legacy.core.RealFieldElement
Compute a linear combination.
linearCombination(T, T, T, T) - Method in interface org.apache.commons.math4.legacy.core.RealFieldElement
Compute a linear combination.
linearCombination(T, T, T, T, T, T) - Method in interface org.apache.commons.math4.legacy.core.RealFieldElement
Compute a linear combination.
linearCombination(T, T, T, T, T, T, T, T) - Method in interface org.apache.commons.math4.legacy.core.RealFieldElement
Compute a linear combination.
log() - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
Natural logarithm.
log() - Method in interface org.apache.commons.math4.legacy.core.RealFieldElement
Natural logarithm.
log(Dfp) - Static method in class org.apache.commons.math4.legacy.core.dfp.DfpMath
Returns the natural logarithm of a.
log10() - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
Base 10 logarithm.
log10() - Method in interface org.apache.commons.math4.legacy.core.RealFieldElement
Base 10 logarithm.
log10K() - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
Get the exponent of the greatest power of 10000 that is less than or equal to the absolute value of this.
log1p() - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
Shifted natural logarithm.
log1p() - Method in interface org.apache.commons.math4.legacy.core.RealFieldElement
Shifted natural logarithm.
logInternal(Dfp[]) - Static method in class org.apache.commons.math4.legacy.core.dfp.DfpMath
Computes the natural log of a number between 0 and 2.

M

mant - Variable in class org.apache.commons.math4.legacy.core.dfp.Dfp
Mantissa.
MathArrays - Class in org.apache.commons.math4.legacy.core
Arrays utilities.
MathArrays.Function - Interface in org.apache.commons.math4.legacy.core
Real-valued function that operate on an array or a part of it.
MathArrays.OrderDirection - Enum in org.apache.commons.math4.legacy.core
Specification of ordering direction.
max(T, T) - Static method in interface org.apache.commons.math4.legacy.core.RealFieldElement
Find the maximum of two field elements.
MAX_EXP - Static variable in class org.apache.commons.math4.legacy.core.dfp.Dfp
The maximum exponent before overflow is signaled and results flushed to infinity.
min(T, T) - Static method in interface org.apache.commons.math4.legacy.core.RealFieldElement
Find the minimum of two field elements.
MIN_EXP - Static variable in class org.apache.commons.math4.legacy.core.dfp.Dfp
The minimum exponent before underflow is signaled.
multiply(double) - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
'×' operator.
multiply(double) - Method in interface org.apache.commons.math4.legacy.core.RealFieldElement
'×' operator.
multiply(int) - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
Multiply this by a single digit x.
multiply(int) - Method in interface org.apache.commons.math4.legacy.core.FieldElement
Compute n × this.
multiply(Dfp) - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
Multiply this by x.
multiply(T) - Method in interface org.apache.commons.math4.legacy.core.FieldElement
Compute this × a.

N

nans - Variable in class org.apache.commons.math4.legacy.core.dfp.Dfp
Indicator for non-finite / non-number values.
natural(int) - Static method in class org.apache.commons.math4.legacy.core.MathArrays
Returns an array representing the natural number n.
negate() - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
Returns a number that is this number with the sign bit reversed.
negate() - Method in interface org.apache.commons.math4.legacy.core.FieldElement
Returns the additive inverse of this element.
negativeOrNull() - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
Check if instance is less than or equal to 0.
newDfp() - Method in class org.apache.commons.math4.legacy.core.dfp.DfpField
Makes a Dfp with a value of 0.
newDfp(byte) - Method in class org.apache.commons.math4.legacy.core.dfp.DfpField
Create an instance from a byte value.
newDfp(byte, byte) - Method in class org.apache.commons.math4.legacy.core.dfp.DfpField
Creates a Dfp with a non-finite value.
newDfp(double) - Method in class org.apache.commons.math4.legacy.core.dfp.DfpField
Create an instance from a double value.
newDfp(int) - Method in class org.apache.commons.math4.legacy.core.dfp.DfpField
Create an instance from an int value.
newDfp(long) - Method in class org.apache.commons.math4.legacy.core.dfp.DfpField
Create an instance from a long value.
newDfp(String) - Method in class org.apache.commons.math4.legacy.core.dfp.DfpField
Create a Dfp given a String representation.
newDfp(Dfp) - Method in class org.apache.commons.math4.legacy.core.dfp.DfpField
Copy constructor.
newInstance() - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
Create an instance with a value of 0.
newInstance() - Method in class org.apache.commons.math4.legacy.core.dfp.DfpDec
Create an instance with a value of 0.
newInstance(byte) - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
Create an instance from a byte value.
newInstance(byte) - Method in class org.apache.commons.math4.legacy.core.dfp.DfpDec
Create an instance from a byte value.
newInstance(byte, byte) - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
Creates an instance with a non-finite value.
newInstance(byte, byte) - Method in class org.apache.commons.math4.legacy.core.dfp.DfpDec
Creates an instance with a non-finite value.
newInstance(double) - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
Create an instance from a double value.
newInstance(double) - Method in class org.apache.commons.math4.legacy.core.dfp.DfpDec
Create an instance from a double value.
newInstance(int) - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
Create an instance from an int value.
newInstance(int) - Method in class org.apache.commons.math4.legacy.core.dfp.DfpDec
Create an instance from an int value.
newInstance(long) - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
Create an instance from a long value.
newInstance(long) - Method in class org.apache.commons.math4.legacy.core.dfp.DfpDec
Create an instance from a long value.
newInstance(String) - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
Create an instance from a String representation.
newInstance(String) - Method in class org.apache.commons.math4.legacy.core.dfp.DfpDec
Create an instance from a String representation.
newInstance(Dfp) - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
Create an instance by copying an existing one.
newInstance(Dfp) - Method in class org.apache.commons.math4.legacy.core.dfp.DfpDec
Create an instance by copying an existing one.
next() - Method in class org.apache.commons.math4.legacy.core.IntegerSequence.Incrementor
nextAfter(Dfp) - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
Returns the next number greater than this one in the direction of x.
nextAfter(Dfp) - Method in class org.apache.commons.math4.legacy.core.dfp.DfpDec
Returns the next number greater than this one in the direction of x.
normalizeArray(double[], double) - Static method in class org.apache.commons.math4.legacy.core.MathArrays
Normalizes an array to make it sum to a specified value.

O

org.apache.commons.math4.legacy.core - package org.apache.commons.math4.legacy.core
Core math utilities.
org.apache.commons.math4.legacy.core.dfp - package org.apache.commons.math4.legacy.core.dfp
Decimal floating point library for Java

P

Pair<K,​V> - Class in org.apache.commons.math4.legacy.core
Generic pair.
Pair(K, V) - Constructor for class org.apache.commons.math4.legacy.core.Pair
Create an entry representing a mapping from the specified key to the specified value.
Pair(Pair<? extends K, ? extends V>) - Constructor for class org.apache.commons.math4.legacy.core.Pair
Create an entry representing the same mapping as the specified entry.
positiveOrNull() - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
Check if instance is greater than or equal to 0.
pow(double) - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
Power operation.
pow(double) - Method in interface org.apache.commons.math4.legacy.core.RealFieldElement
Power operation.
pow(int) - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
Integer power operation.
pow(int) - Method in interface org.apache.commons.math4.legacy.core.RealFieldElement
Integer power operation.
pow(Dfp) - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
Power operation.
pow(Dfp, int) - Static method in class org.apache.commons.math4.legacy.core.dfp.DfpMath
Raises base to the power a by successive squaring.
pow(Dfp, Dfp) - Static method in class org.apache.commons.math4.legacy.core.dfp.DfpMath
Computes x to the y power.
pow(T) - Method in interface org.apache.commons.math4.legacy.core.RealFieldElement
Power operation.
power10(int) - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
Return the specified power of 10.
power10K(int) - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
Get the specified power of 10000.

Q

QNAN - Static variable in class org.apache.commons.math4.legacy.core.dfp.Dfp
Indicator value for quiet NaN.

R

RADIX - Static variable in class org.apache.commons.math4.legacy.core.dfp.Dfp
The radix, or base of this system.
range(int, int) - Static method in class org.apache.commons.math4.legacy.core.IntegerSequence
Creates a sequence [start .. end].
range(int, int, int) - Static method in class org.apache.commons.math4.legacy.core.IntegerSequence
Creates a sequence ai, i < 0 < n where ai = start + i * step and n is such that an <= max and an+1 > max.
Range(int, int, int) - Constructor for class org.apache.commons.math4.legacy.core.IntegerSequence.Range
Creates a sequence ai, i < 0 < n where ai = start + i * step and n is such that an <= max and an+1 > max.
RealFieldElement<T> - Interface in org.apache.commons.math4.legacy.core
Interface representing a real field.
reciprocal() - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
Returns the multiplicative inverse of this element.
reciprocal() - Method in interface org.apache.commons.math4.legacy.core.FieldElement
Returns the multiplicative inverse of this element.
reciprocal() - Method in interface org.apache.commons.math4.legacy.core.RealFieldElement
Returns the multiplicative inverse of this element.
remainder(double) - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
IEEE remainder operator.
remainder(double) - Method in interface org.apache.commons.math4.legacy.core.RealFieldElement
IEEE remainder operator.
remainder(Dfp) - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
Returns the IEEE remainder.
remainder(T) - Method in interface org.apache.commons.math4.legacy.core.RealFieldElement
IEEE remainder operator.
remove() - Method in class org.apache.commons.math4.legacy.core.IntegerSequence.Incrementor
Not applicable.
rint() - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
Round to nearest integer using the round-half-even method.
rint() - Method in interface org.apache.commons.math4.legacy.core.RealFieldElement
Get the whole number that is the nearest to the instance, or the even one if x is exactly half way between two integers.
rootN(int) - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
Nth root.
rootN(int) - Method in interface org.apache.commons.math4.legacy.core.RealFieldElement
Nth root.
round() - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
Get the closest long to instance value.
round() - Method in interface org.apache.commons.math4.legacy.core.RealFieldElement
Get the closest long to instance value.
round(int) - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
Round this given the next digit n using the current rounding mode.
round(int) - Method in class org.apache.commons.math4.legacy.core.dfp.DfpDec
Round this given the next digit n using the current rounding mode.
ROUND_CEIL - org.apache.commons.math4.legacy.core.dfp.DfpField.RoundingMode
Rounds towards positive infinity.
ROUND_DOWN - org.apache.commons.math4.legacy.core.dfp.DfpField.RoundingMode
Rounds toward zero (truncation).
ROUND_FLOOR - org.apache.commons.math4.legacy.core.dfp.DfpField.RoundingMode
Rounds towards negative infinity.
ROUND_HALF_DOWN - org.apache.commons.math4.legacy.core.dfp.DfpField.RoundingMode
Rounds towards nearest unless both are equidistant in which case it rounds toward zero.
ROUND_HALF_EVEN - org.apache.commons.math4.legacy.core.dfp.DfpField.RoundingMode
Rounds towards nearest unless both are equidistant in which case it rounds toward the even neighbor.
ROUND_HALF_ODD - org.apache.commons.math4.legacy.core.dfp.DfpField.RoundingMode
Rounds towards nearest unless both are equidistant in which case it rounds toward the odd neighbor.
ROUND_HALF_UP - org.apache.commons.math4.legacy.core.dfp.DfpField.RoundingMode
Rounds towards nearest unless both are equidistant in which case it rounds away from zero.
ROUND_UP - org.apache.commons.math4.legacy.core.dfp.DfpField.RoundingMode
Rounds away from zero if discarded digit is non-zero.

S

scalb(int) - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
Multiply the instance by a power of 2.
scalb(int) - Method in interface org.apache.commons.math4.legacy.core.RealFieldElement
Multiply the instance by a power of 2.
scale(double, double[]) - Static method in class org.apache.commons.math4.legacy.core.MathArrays
Create a copy of an array scaled by a value.
scaleInPlace(double, double[]) - Static method in class org.apache.commons.math4.legacy.core.MathArrays
Multiply each element of an array by a value.
sequence(int, int, int) - Static method in class org.apache.commons.math4.legacy.core.MathArrays
Returns an array of size integers starting at start, skipping stride numbers.
setIEEEFlags(int) - Method in class org.apache.commons.math4.legacy.core.dfp.DfpField
Sets the IEEE 854 status flags.
setIEEEFlagsBits(int) - Method in class org.apache.commons.math4.legacy.core.dfp.DfpField
Sets some bits in the IEEE 854 status flags, without changing the already set bits.
setRoundingMode(DfpField.RoundingMode) - Method in class org.apache.commons.math4.legacy.core.dfp.DfpField
Set the rounding mode.
shiftLeft() - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
Shift the mantissa left, and adjust the exponent to compensate.
shiftRight() - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
Shift the mantissa right, and adjust the exponent to compensate.
sign - Variable in class org.apache.commons.math4.legacy.core.dfp.Dfp
Sign bit: 1 for positive, -1 for negative.
signum() - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
Compute the signum of the instance.
signum() - Method in interface org.apache.commons.math4.legacy.core.RealFieldElement
Compute the signum of the instance.
sin() - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
Sine operation.
sin() - Method in interface org.apache.commons.math4.legacy.core.RealFieldElement
Sine operation.
sin(Dfp) - Static method in class org.apache.commons.math4.legacy.core.dfp.DfpMath
computes the sine of the argument.
sinh() - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
Hyperbolic sine operation.
sinh() - Method in interface org.apache.commons.math4.legacy.core.RealFieldElement
Hyperbolic sine operation.
sinInternal(Dfp[]) - Static method in class org.apache.commons.math4.legacy.core.dfp.DfpMath
Computes sin(a) Used when {@code 0 < a < pi/4}.
size() - Method in class org.apache.commons.math4.legacy.core.IntegerSequence.Range
Gets the number of elements contained in the range.
SNAN - Static variable in class org.apache.commons.math4.legacy.core.dfp.Dfp
Indicator value for signaling NaN.
split(Dfp) - Static method in class org.apache.commons.math4.legacy.core.dfp.DfpMath
Splits a Dfp into 2 Dfp's such that their sum is equal to the input Dfp.
split(DfpField, String) - Static method in class org.apache.commons.math4.legacy.core.dfp.DfpMath
Breaks a string representation up into two dfp's.
splitDiv(Dfp[], Dfp[]) - Static method in class org.apache.commons.math4.legacy.core.dfp.DfpMath
Divide two numbers that are split in to two pieces that are meant to be added together.
splitMult(Dfp[], Dfp[]) - Static method in class org.apache.commons.math4.legacy.core.dfp.DfpMath
Multiply two numbers that are split in to two pieces that are meant to be added together.
splitPow(Dfp[], int) - Static method in class org.apache.commons.math4.legacy.core.dfp.DfpMath
Raise a split base to the a power.
sqrt() - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
Compute the square root.
sqrt() - Method in interface org.apache.commons.math4.legacy.core.RealFieldElement
Square root.
strictlyNegative() - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
Check if instance is strictly less than 0.
strictlyPositive() - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
Check if instance is strictly greater than 0.
subtract(double) - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
'-' operator.
subtract(double) - Method in interface org.apache.commons.math4.legacy.core.RealFieldElement
'-' operator.
subtract(Dfp) - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
Subtract x from this.
subtract(T) - Method in interface org.apache.commons.math4.legacy.core.FieldElement
Compute this - a.

T

tan() - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
Tangent operation.
tan() - Method in interface org.apache.commons.math4.legacy.core.RealFieldElement
Tangent operation.
tan(Dfp) - Static method in class org.apache.commons.math4.legacy.core.dfp.DfpMath
computes the tangent of the argument.
tanh() - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
Hyperbolic tangent operation.
tanh() - Method in interface org.apache.commons.math4.legacy.core.RealFieldElement
Hyperbolic tangent operation.
toDouble() - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
Convert the instance into a double.
toSplitDouble() - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
Convert the instance into a split double.
toString() - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
Get a string representation of the instance.
toString() - Method in class org.apache.commons.math4.legacy.core.Pair
trap(int, String, Dfp, Dfp, Dfp) - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
Trap handler.
trigger(int) - Method in interface org.apache.commons.math4.legacy.core.IntegerSequence.Incrementor.MaxCountExceededCallback
Function called when the maximal count has been reached.
trunc(DfpField.RoundingMode) - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
Does the integer conversions with the specified rounding.

U

unequal(Dfp) - Method in class org.apache.commons.math4.legacy.core.dfp.Dfp
Check if instance is not equal to x.
unique(double[]) - Static method in class org.apache.commons.math4.legacy.core.MathArrays
Returns an array consisting of the unique values in data.

V

valueOf(String) - Static method in enum org.apache.commons.math4.legacy.core.dfp.DfpField.RoundingMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.commons.math4.legacy.core.MathArrays.OrderDirection
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.apache.commons.math4.legacy.core.dfp.DfpField.RoundingMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.commons.math4.legacy.core.MathArrays.OrderDirection
Returns an array containing the constants of this enum type, in the order they are declared.
verifyValues(double[], double[], int, int) - Static method in class org.apache.commons.math4.legacy.core.MathArrays
This method is used to verify that the begin and length parameters designate a subarray of positive length and the weights are all non-negative, non-NaN, finite, and not all zero.
verifyValues(double[], double[], int, int, boolean) - Static method in class org.apache.commons.math4.legacy.core.MathArrays
This method is used to verify that the begin and length parameters designate a subarray of positive length and the weights are all non-negative, non-NaN, finite, and not all zero.
verifyValues(double[], int, int) - Static method in class org.apache.commons.math4.legacy.core.MathArrays
This method is used to verify that the input parameters designate a subarray of positive length.
verifyValues(double[], int, int, boolean) - Static method in class org.apache.commons.math4.legacy.core.MathArrays
This method is used to verify that the input parameters designate a subarray of positive length.

W

withCallback(IntegerSequence.Incrementor.MaxCountExceededCallback) - Method in class org.apache.commons.math4.legacy.core.IntegerSequence.Incrementor
Creates a new instance with a given callback.
withIncrement(int) - Method in class org.apache.commons.math4.legacy.core.IntegerSequence.Incrementor
Creates a new instance with a given increment.
withMaximalCount(int) - Method in class org.apache.commons.math4.legacy.core.IntegerSequence.Incrementor
Creates a new instance with a given maximal count.
withStart(int) - Method in class org.apache.commons.math4.legacy.core.IntegerSequence.Incrementor
Creates a new instance with a given initial value.
A B C D E F G H I L M N O P Q R S T U V W 
All Classes All Packages