Serialized Form


Package org.znerd.math

Class org.znerd.math.AbstractCompositeNumber extends CompositeNumber implements Serializable

Serialized Fields

_elements

RealNumber[] _elements
The elements of this operation.

Class org.znerd.math.BasicDigitSet extends DigitSet implements Serializable

Serialized Fields

_radix

int _radix
The radix for this number. The value of this field is always >= 2 and <= RealNumber.MAXIMUM_RADIX.


_digits

int[] _digits
An array containing the digits. This field is initialised by the constructor.


_exponent

int _exponent
The exponent for this number.

Class org.znerd.math.BasicRationalNumber extends RationalNumber implements Serializable

Class org.znerd.math.BigIntegerNumber extends IntegerNumber implements Serializable

Serialized Fields

_bigInteger

BigInteger _bigInteger
The BigInteger this IntegerNumber implementation is based on.


_hash

int _hash
The hash code.

Class org.znerd.math.CanNotCompareException extends RuntimeException implements Serializable

Serialized Fields

_numbers

RealNumber[] _numbers
The numbers that cannot be compared. This array is not null and contains 2 non-null elements.

Class org.znerd.math.CompositeNumber extends RealNumber implements Serializable

Class org.znerd.math.DigitSet extends RationalNumber implements Serializable

Class org.znerd.math.IntegerNumber extends RationalNumber implements Serializable

Class org.znerd.math.Power extends AbstractCompositeNumber implements Serializable

Class org.znerd.math.Product extends AbstractCompositeNumber implements Serializable

Class org.znerd.math.RationalNumber extends RealNumber implements Serializable

Serialized Fields

_numerator

IntegerNumber _numerator
The numerator. This field is initialized by the constructor, it can never be null.


_denominator

IntegerNumber _denominator
The denominator. This field is initialized by the constructor, it can never be null.

Class org.znerd.math.RealNumber extends Number implements Serializable

Serialized Fields

_sign

int _sign
The sign of this number. This field is initialized by the constructor. The value of this field is -1, 0, or 1 as this number is negative, zero, or positive.

The value of this field is returned by RealNumber.getSign().


_asString

String _asString
Textual presentation of this number.

The value of this field is returned by RealNumber.toString().

Class org.znerd.math.SmallIntegerNumber extends IntegerNumber implements Serializable

Serialized Fields

_value

int _value
The int this IntegerNumber implementation is based on.

Class org.znerd.math.Sum extends CompositeNumber implements Serializable

Serialized Fields

_elements

RealNumber[] _elements
The operands for this sum. This field is never null and it should never contain any null elements. It is initialized by the constructor. After that the contents should never change anymore.



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