This class represents a modulo integer. It can be used in conjonction
with the
org.jscience.mathematics.vector.Matrix Matrix class to resolve modulo equations (ref. number theory).
equals(Object that) Compares this modulo integer against the specified object
independently of the current modulus.
Parameters: that - the object to compare with.
getModulus() Returns the
javolution.context.LocalContext local modulus
for modular arithmetic or null if the arithmetic operations
are non-modular (default).
public int
hashCode() Returns the hash code for this large integer number.
valueOf(LargeInteger value) Returns the modulo integer having the specified value (independently of
the current modulo).
Parameters: value - the modulo integer intrinsic value.
valueOf(CharSequence chars) Returns the modulo integer for the specified character sequence in
decimal number.
Parameters: chars - the character sequence.
Holds the default XML representation for modulo integers.
This representation consists of a simple value attribute
holding the
ModuloInteger.toText() textual representation.
Compares this modulo integer against the specified object
independently of the current modulus.
Parameters: that - the object to compare with. true if that is a modulo number with the same intrinsic value; false otherwise.
Returns the
javolution.context.LocalContext local modulus
for modular arithmetic or null if the arithmetic operations
are non-modular (default).
the local modulus or null if none. See Also:ModuloInteger.setModulus
Returns the current modulo value of this number. If the modulus
is
ModuloInteger.setModulus set to null the intrinsic value
(the creation value) is returned.
the positive number equals to this number modulo modulus orthis modulo creation value.
Sets the
javolution.context.LocalContext local modulus
for modular arithmetic.
Parameters: modulus - the new modulus or null to unset the modulus. throws: IllegalArgumentException - if modulus <= 0
Returns the modulo integer having the specified value (independently of
the current modulo).
Parameters: value - the modulo integer intrinsic value. the corresponding modulo number.
Returns the modulo integer for the specified character sequence in
decimal number.
Parameters: chars - the character sequence. the corresponding modulo number.