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

A

abs() - Method in class org.znerd.math.RealNumber
Computes |this|.
abs() - Method in class org.znerd.math.IntegerNumber
 
absInteger() - Method in class org.znerd.math.IntegerNumber
 
AbstractCompositeNumber - class org.znerd.math.AbstractCompositeNumber.
Abstract base class for CompositeNumber implementations.
AbstractCompositeNumber(int, String, RealNumber[]) - Constructor for class org.znerd.math.AbstractCompositeNumber
Constructs a new AbstractCompositeNumber object.
add(IntegerNumber) - Method in class org.znerd.math.IntegerNumber
Computes this + n, where n is an integer number.
add(IntegerNumber) - Method in class org.znerd.math.BigIntegerNumber
 
add(IntegerNumber) - Method in class org.znerd.math.SmallIntegerNumber
 
add(RationalNumber) - Method in class org.znerd.math.RationalNumber
Computes this+n, where n is a rational number.
add(RationalNumber) - Method in class org.znerd.math.IntegerNumber
 
add(RealNumber) - Method in class org.znerd.math.RealNumber
Computes this + n, where n is a real number.
add(RealNumber) - Method in class org.znerd.math.RationalNumber
 
add(RealNumber, RealNumber) - Static method in class org.znerd.math.NumberCentral
Computes the sum of 2 RealNumbers.
asString() - Method in class org.znerd.math.Product
Returns a textual representation of this object.

B

BasicDigitSet - class org.znerd.math.BasicDigitSet.
Basic implementation of a DigitSet.
BasicDigitSet(boolean, int, int[], int) - Constructor for class org.znerd.math.BasicDigitSet
Creates a new BasicDigitSet instance.
BasicRationalNumber - class org.znerd.math.BasicRationalNumber.
Basic implementation of a rational number, i.e.
BasicRationalNumber(IntegerNumber, IntegerNumber) - Constructor for class org.znerd.math.BasicRationalNumber
Constructs a new BasicRationalNumber from a numerator and a denominator.
BigIntegerNumber - class org.znerd.math.BigIntegerNumber.
Basic implementation of an integer number.
BigIntegerNumber(BigInteger) - Constructor for class org.znerd.math.BigIntegerNumber
Constructs a BigIntegerNumber from a BigInteger.
byteValue() - Method in class org.znerd.math.RealNumber
Returns the value of this number as a byte.

C

CanNotCompareException - exception org.znerd.math.CanNotCompareException.
Exception thrown to indicate a compare operation failed.
CanNotCompareException(RealNumber, RealNumber) - Constructor for class org.znerd.math.CanNotCompareException
Constructs a new CanNotCompareException for a failed comparison between the specified numbers.
checkDivideByZero(RealNumber) - Static method in class org.znerd.math.NumberCentral
Checks if dividing by the specified number would result in a division by zero.
compareTo(IntegerNumber) - Method in class org.znerd.math.IntegerNumber
 
compareTo(Object) - Method in class org.znerd.math.RealNumber
Compares this object with the specified object.
compareTo(RationalNumber) - Method in class org.znerd.math.RationalNumber
Compares this number with the specified rational number.
compareTo(RealNumber) - Method in class org.znerd.math.RealNumber
Compares this number with the specified number.
compareToImpl(IntegerNumber) - Method in class org.znerd.math.IntegerNumber
 
compareToImpl(IntegerNumber) - Method in class org.znerd.math.SmallIntegerNumber
 
compareToImpl(RationalNumber) - Method in class org.znerd.math.RationalNumber
 
compareToImpl(RationalNumber) - Method in class org.znerd.math.IntegerNumber
 
compareToImpl(RealNumber) - Method in class org.znerd.math.RealNumber
Compares this number with the specified number, second level.
compareToImpl(RealNumber) - Method in class org.znerd.math.RationalNumber
Compares this number with the specified number, second level.
compareToImpl(RealNumber) - Method in class org.znerd.math.Sum
 
compareToImpl2(RealNumber) - Method in class org.znerd.math.RationalNumber
Compares this number with the specified number, third level.
CompositeNumber - class org.znerd.math.CompositeNumber.
A composite real number.
CompositeNumber(int, String) - Constructor for class org.znerd.math.CompositeNumber
Constructs a new CompositeNumber object.
createFraction(IntegerNumber, IntegerNumber) - Static method in class org.znerd.math.NumberCentral
Returns a fraction with the given numerator and denominator.
createFraction(int, int) - Static method in class org.znerd.math.NumberCentral
Returns a fraction with the given numerator and denominator, both being an int.
createInstance(BigInteger) - Static method in class org.znerd.math.BigIntegerNumber
Returns an instance of a BigIntegerNumber based on a java.math.BigInteger.
createInstance(int) - Static method in class org.znerd.math.SmallIntegerNumber
Returns an instance of a SmallIntegerNumber based on a int value.
createInstance(IntegerNumber, IntegerNumber) - Static method in class org.znerd.math.BasicRationalNumber
Returns an instance of a BasicRationalNumber with the given numerator and denominator.
createInstance(RealNumber, RealNumber) - Static method in class org.znerd.math.Power
Returns a Power with the specified operands.
createInstance(RealNumber, RealNumber) - Static method in class org.znerd.math.Sum
Returns a Sum with the specified operands.
createInstance(RealNumber, RealNumber) - Static method in class org.znerd.math.Product
Returns a Product with the specified operands.
createInteger(byte[]) - Static method in class org.znerd.math.NumberCentral
Returns an integer number from a byte array in two's complement notation.
createRandomInteger(int) - Static method in class org.znerd.math.NumberCentral
Returns an IntegerNumber with a random value.

D

dec() - Method in class org.znerd.math.IntegerNumber
Computes this-1.
dec() - Method in class org.znerd.math.SmallIntegerNumber
 
determineSign(RealNumber, RealNumber) - Static method in class org.znerd.math.Power
Computes the sign of a power with the specified operands.
determineSign(RealNumber, RealNumber) - Static method in class org.znerd.math.Product
Computes the sign of a product with the specified operands.
DigitSet - class org.znerd.math.DigitSet.
A set of digits, having a radix and an exponent.
DigitSet(IntegerNumber[], String) - Constructor for class org.znerd.math.DigitSet
Creates a new DigitSet instance.
divide(RationalNumber) - Method in class org.znerd.math.RationalNumber
Computes this/n, where n is a rational number.
divide(RationalNumber) - Method in class org.znerd.math.IntegerNumber
 
divide(RealNumber) - Method in class org.znerd.math.RealNumber
Computes this/n, where n is a real number.
divide(RealNumber) - Method in class org.znerd.math.RationalNumber
 
doubleValue() - Method in class org.znerd.math.RealNumber
Returns the value of this number as a double.
doubleValue() - Method in class org.znerd.math.RationalNumber
 
doubleValue() - Method in class org.znerd.math.BigIntegerNumber
 
doubleValue() - Method in class org.znerd.math.SmallIntegerNumber
 

E

equals(Object) - Method in class org.znerd.math.RealNumber
 

F

fac() - Method in class org.znerd.math.IntegerNumber
Computes this!.
fitsByte() - Method in class org.znerd.math.RealNumber
Determines if the truncated value of this number fits in a byte.
fitsDouble() - Method in class org.znerd.math.RealNumber
Determines if the rounded value of this number fits in a double.
fitsFloat() - Method in class org.znerd.math.RealNumber
Determines if the rounded value of this number fits in a float.
fitsInt() - Method in class org.znerd.math.RealNumber
Determines if the truncated value of this number fits in an int.
fitsLong() - Method in class org.znerd.math.RealNumber
Determines if the truncated value of this number fits in a long.
fitsShort() - Method in class org.znerd.math.RealNumber
Determines if the truncated value of this number fits in a short.
floatValue() - Method in class org.znerd.math.RealNumber
Returns the value of this number as a float.

G

gcd(IntegerNumber) - Method in class org.znerd.math.IntegerNumber
Computes the greatest common divisor of this and n.
getBase() - Method in class org.znerd.math.Power
Returns the base of this power.
getDenominator() - Method in class org.znerd.math.RationalNumber
Returns the denominator of this fraction.
getDigits() - Method in class org.znerd.math.DigitSet
Returns a new array containing all the digits.
getDigits() - Method in class org.znerd.math.BasicDigitSet
 
getElement(int) - Method in class org.znerd.math.CompositeNumber
Returns the nth operand.
getElement(int) - Method in class org.znerd.math.AbstractCompositeNumber
 
getElement(int) - Method in class org.znerd.math.Sum
 
getElementCount() - Method in class org.znerd.math.CompositeNumber
Counts the number of operands.
getElementCount() - Method in class org.znerd.math.AbstractCompositeNumber
 
getElementCount() - Method in class org.znerd.math.Sum
 
getElements() - Method in class org.znerd.math.CompositeNumber
Returns the operands.
getElements() - Method in class org.znerd.math.AbstractCompositeNumber
 
getElements() - Method in class org.znerd.math.Sum
 
getExponent() - Method in class org.znerd.math.Power
Returns the exponent of this power.
getExponent() - Method in class org.znerd.math.DigitSet
Returns the exponent.
getExponent() - Method in class org.znerd.math.BasicDigitSet
 
getName() - Method in class org.znerd.math.RoundingMode
Returns a short, human-presentable, description of this rounding mode.
getNumbers() - Method in class org.znerd.math.CanNotCompareException
Returns the numbers that could not be compared in a new array.
getNumerator() - Method in class org.znerd.math.RationalNumber
Returns the numerator of this fraction.
getPrecision() - Method in class org.znerd.math.DigitSet
Returns the precision, the total number of digits.
getPrecision() - Method in class org.znerd.math.BasicDigitSet
 
getRadix() - Method in class org.znerd.math.DigitSet
Returns the radix or base.
getRadix() - Method in class org.znerd.math.BasicDigitSet
 
getSign() - Method in class org.znerd.math.RealNumber
Determines the sign of this number.
getVersion() - Static method in class org.znerd.math.NumberCentral
Returns the current version of JUMP.

H

hashCode() - Method in class org.znerd.math.BigIntegerNumber
 

I

inc() - Method in class org.znerd.math.IntegerNumber
Computes this+1.
inc() - Method in class org.znerd.math.SmallIntegerNumber
 
integerDivide(IntegerNumber) - Method in class org.znerd.math.IntegerNumber
Computes the integer result of this/n, where n is an integer number.
integerDivide(IntegerNumber) - Method in class org.znerd.math.BigIntegerNumber
 
integerDivide(IntegerNumber) - Method in class org.znerd.math.SmallIntegerNumber
 
IntegerNumber - class org.znerd.math.IntegerNumber.
An immutable integer number.
IntegerNumber(int, String) - Constructor for class org.znerd.math.IntegerNumber
 
intValue() - Method in class org.znerd.math.RealNumber
Returns the value of this number as an int.
intValue() - Method in class org.znerd.math.SmallIntegerNumber
 
invert() - Method in class org.znerd.math.RealNumber
Computes 1/this.
invert() - Method in class org.znerd.math.RationalNumber
 
invert() - Method in class org.znerd.math.IntegerNumber
 
isConsistent() - Method in class org.znerd.math.RoundingMode
Indicates if this rounding mode is consistent.
isRelativePrime(IntegerNumber) - Method in class org.znerd.math.IntegerNumber
Determines if this and n are relative primes.

L

longValue() - Method in class org.znerd.math.RealNumber
Returns the value of this number as a long.
longValue() - Method in class org.znerd.math.BigIntegerNumber
 
longValue() - Method in class org.znerd.math.SmallIntegerNumber
 

M

MAXIMUM_RADIX - Static variable in class org.znerd.math.RealNumber
The maximum value for a radix.
MAXIMUM_VALUE - Static variable in class org.znerd.math.SmallIntegerNumber
The maximum IntegerNumber that can be represented by this class.
MINIMUM_VALUE - Static variable in class org.znerd.math.SmallIntegerNumber
The minimum IntegerNumber that can be represented by this class.
MINUS_ONE - Static variable in class org.znerd.math.SmallIntegerNumber
Cached instance that represents the number minus one, -1.
MINUS_ONE_HALF - Static variable in class org.znerd.math.BasicRationalNumber
Cached instance that represents the number minus one half, -1/2.
MINUS_TWO - Static variable in class org.znerd.math.SmallIntegerNumber
Cached instance that represents the number minus two, -2.
multiply(IntegerNumber) - Method in class org.znerd.math.IntegerNumber
Computes this * n, where n is an integer number.
multiply(IntegerNumber) - Method in class org.znerd.math.BigIntegerNumber
 
multiply(IntegerNumber) - Method in class org.znerd.math.SmallIntegerNumber
 
multiply(RationalNumber) - Method in class org.znerd.math.RationalNumber
Computes this*n, where n is a rational number.
multiply(RationalNumber) - Method in class org.znerd.math.IntegerNumber
 
multiply(RealNumber) - Method in class org.znerd.math.RealNumber
Computes this * n, where n is a real number.
multiply(RealNumber) - Method in class org.znerd.math.RationalNumber
 
multiply(RealNumber, RealNumber) - Static method in class org.znerd.math.NumberCentral
Computes the product of 2 RealNumbers.

N

negate() - Method in class org.znerd.math.RealNumber
Computes -this.
negate() - Method in class org.znerd.math.RationalNumber
 
negate() - Method in class org.znerd.math.IntegerNumber
 
negateInteger() - Method in class org.znerd.math.IntegerNumber
 
negateInteger() - Method in class org.znerd.math.SmallIntegerNumber
 
NumberCentral - class org.znerd.math.NumberCentral.
A static factory that produces RealNumber objects.

O

ONE - Static variable in class org.znerd.math.SmallIntegerNumber
Cached instance that represents the number one, 1.
ONE_HALF - Static variable in class org.znerd.math.BasicRationalNumber
Cached instance that represents the number one half, 1/2.
org.znerd.math - package org.znerd.math
JUMP Ultimate Math Package 0.4.1.

P

pow(IntegerNumber) - Method in class org.znerd.math.RationalNumber
Computes this**n, where n is an integer number.
pow(IntegerNumber) - Method in class org.znerd.math.IntegerNumber
 
pow(RealNumber) - Method in class org.znerd.math.RealNumber
Computes thisn, where n is a real number.
pow(RealNumber) - Method in class org.znerd.math.RationalNumber
 
pow(RealNumber, RealNumber) - Static method in class org.znerd.math.NumberCentral
Computes the power of the given base and exponent.
Power - class org.znerd.math.Power.
A power, consisting of a base and an exponent.
Power(RealNumber, RealNumber) - Constructor for class org.znerd.math.Power
Constructs a Power with the specified base and exponent.
Product - class org.znerd.math.Product.
A product of two real numbers.
Product(RealNumber, RealNumber) - Constructor for class org.znerd.math.Product
Constructs a Product based on the 2 specified operands.

R

RationalNumber - class org.znerd.math.RationalNumber.
Rational number.
RationalNumber(IntegerNumber[]) - Constructor for class org.znerd.math.RationalNumber
Constructs a new RationalNumber with the specified numerator and denominator.
RationalNumber(IntegerNumber[], String) - Constructor for class org.znerd.math.RationalNumber
Constructs a new RationalNumber with the specified numerator, denominator and textual presentation.
RealNumber - class org.znerd.math.RealNumber.
An immutable real number.
RealNumber(int, String) - Constructor for class org.znerd.math.RealNumber
Constructs a new RealNumber object.
remainder(IntegerNumber) - Method in class org.znerd.math.IntegerNumber
Computes the remainder of this/n, where n is an integer number.
remainder(IntegerNumber) - Method in class org.znerd.math.SmallIntegerNumber
 
retryCompare(RealNumber) - Method in class org.znerd.math.Product
Returns -1, 0 or 1 as this number is less than, equal to, or greater than n, where n is a real number.
ROUND_CEILING - Static variable in interface org.znerd.math.RoundingModes
Rounding mode that rounds towards positive infinity.
ROUND_DOWN - Static variable in interface org.znerd.math.RoundingModes
Rounding mode that rounds towards 0.
ROUND_FLOOR - Static variable in interface org.znerd.math.RoundingModes
Rounding mode that rounds towards negative infinity.
ROUND_UP - Static variable in interface org.znerd.math.RoundingModes
Rounding mode that rounds away from 0.
round(int, int, RoundingMode) - Method in class org.znerd.math.IntegerNumber
Rounds to the specified radix, using the specified precision and rounding mode.
round(int, int, RoundingMode) - Method in class org.znerd.math.BigIntegerNumber
 
round(int, int, RoundingMode) - Method in class org.znerd.math.SmallIntegerNumber
Rounds to the specified radix, using the specified precision and rounding mode.
round(RealNumber, int, int) - Method in class org.znerd.math.RoundingMode
Rounds the specified digit for a number in the specified base.
roundImpl(RealNumber, int, int, int) - Method in class org.znerd.math.RoundingMode
Actually rounds the specified digit for a number in the specified base.
RoundingMode - class org.znerd.math.RoundingMode.
Rounding mode.
RoundingMode(String, boolean) - Constructor for class org.znerd.math.RoundingMode
Constructs a new RoundingMode with the specified name.
RoundingModes - interface org.znerd.math.RoundingModes.
Set of standard rounding modes.

S

shortValue() - Method in class org.znerd.math.RealNumber
Returns the value of this number as a short.
SmallIntegerNumber - class org.znerd.math.SmallIntegerNumber.
Implementation of an IntegerNumber based on a int value.
subtract(IntegerNumber) - Method in class org.znerd.math.IntegerNumber
Computes this - n, where n is an integer number.
subtract(RationalNumber) - Method in class org.znerd.math.RationalNumber
Computes this-n, where n is a rational number.
subtract(RationalNumber) - Method in class org.znerd.math.IntegerNumber
 
subtract(RealNumber) - Method in class org.znerd.math.RealNumber
Computes this - n, where n is a real number.
subtract(RealNumber) - Method in class org.znerd.math.RationalNumber
 
Sum - class org.znerd.math.Sum.
A sum of two real numbers.
Sum(RealNumber, RealNumber) - Constructor for class org.znerd.math.Sum
Constructs a Sum based on the 2 specified operands.

T

toBigDecimal() - Method in class org.znerd.math.IntegerNumber
Converts the value of this number to a BigDecimal.
toBigDecimal(int) - Method in class org.znerd.math.RealNumber
Converts the value of this number to a BigDecimal with the specified precision.
toBigDecimal(int) - Method in class org.znerd.math.RationalNumber
 
toBigDecimal(int) - Method in class org.znerd.math.IntegerNumber
Converts the value of this number to a BigDecimal with the specified precision.
toBigDecimal(int, int) - Method in class org.znerd.math.RealNumber
Converts the value of this number to a BigDecimal with the specified precision and rounding mode.
toBigDecimal(int, int) - Method in class org.znerd.math.Power
 
toBigDecimal(int, int) - Method in class org.znerd.math.RationalNumber
Converts the value of this number to a BigDecimal with the specified precision and rounding mode.
toBigDecimal(int, int) - Method in class org.znerd.math.IntegerNumber
Converts the value of this number to a BigDecimal with the specified precision and rounding mode.
toBigDecimal(int, int) - Method in class org.znerd.math.Sum
Converts the value of this number to a BigDecimal with the specified precision and rounding mode.
toBigDecimal(int, int) - Method in class org.znerd.math.Product
Converts the value of this number to a BigDecimal with the specified precision and rounding mode.
toBigInteger() - Method in class org.znerd.math.RealNumber
Converts the value of this number to a BigInteger.
toBigInteger() - Method in class org.znerd.math.IntegerNumber
Converts the value of this number to a BigInteger.
toBigInteger() - Method in class org.znerd.math.BigIntegerNumber
 
toBigInteger() - Method in class org.znerd.math.SmallIntegerNumber
 
toByteArray() - Method in class org.znerd.math.IntegerNumber
Returns the two's-complement representation of this integer number.
toByteArray() - Method in class org.znerd.math.BigIntegerNumber
 
toByteArray() - Method in class org.znerd.math.SmallIntegerNumber
 
toPrecision(int) - Method in class org.znerd.math.DigitSet
Returns a digit set with the specified precision.
toPrecisionImpl(int) - Method in class org.znerd.math.DigitSet
Returns a digit set with the specified precision, actual implementation.
toPrecisionImpl(int) - Method in class org.znerd.math.BasicDigitSet
 
toString() - Method in class org.znerd.math.RealNumber
 
toString() - Method in class org.znerd.math.RoundingMode
Returns a textual presentation of this object.
trunc() - Method in class org.znerd.math.RealNumber
Rounds to an integer number towards 0.
trunc() - Method in class org.znerd.math.Power
 
trunc() - Method in class org.znerd.math.RationalNumber
 
trunc() - Method in class org.znerd.math.IntegerNumber
 
trunc() - Method in class org.znerd.math.Sum
Rounds to an integer number towards 0.
trunc() - Method in class org.znerd.math.Product
Rounds to an integer number towards 0.
TWO - Static variable in class org.znerd.math.SmallIntegerNumber
Cached instance that represents the number two, 2.

V

valueOf(BigDecimal) - Static method in class org.znerd.math.NumberCentral
Converts a BigDecimal to a RationalNumber.
valueOf(BigInteger) - Static method in class org.znerd.math.NumberCentral
Converts a BigInteger to an IntegerNumber.
valueOf(byte) - Static method in class org.znerd.math.NumberCentral
Converts a byte to an IntegerNumber.
valueOf(double) - Static method in class org.znerd.math.NumberCentral
Converts a double to a RationalNumber.
valueOf(float) - Static method in class org.znerd.math.NumberCentral
Converts a float to a RationalNumber.
valueOf(int) - Static method in class org.znerd.math.NumberCentral
Converts an int to an IntegerNumber.
valueOf(long) - Static method in class org.znerd.math.NumberCentral
Converts a long to an IntegerNumber.
valueOf(short) - Static method in class org.znerd.math.NumberCentral
Converts a short to an IntegerNumber.

Z

ZERO - Static variable in class org.znerd.math.SmallIntegerNumber
Cached instance that represents the number zero, 0.

_

_value - Variable in class org.znerd.math.SmallIntegerNumber
The int this IntegerNumber implementation is based on.

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

See http://jump-math.sourceforge.net/.