Index

A B C D E F G H I J K L M N P R S T U V W X _ 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

abs() - Method in class it.unich.jgmp.MPF
Return an MPF whose value is the absolute value of this.
abs() - Method in class it.unich.jgmp.MPQ
Return an MPQ whose value is the absolute value of this.
abs() - Method in class it.unich.jgmp.MPZ
Return an MPZ whose value is the absolute value of this.
absAssign() - Method in class it.unich.jgmp.MPF
Set this MPF to its absolute value.
absAssign() - Method in class it.unich.jgmp.MPQ
Set this MPQ to its absolute value.
absAssign() - Method in class it.unich.jgmp.MPZ
Set this MPZ to its absolute value.
absAssign(MPF) - Method in class it.unich.jgmp.MPF
Set this MPF to the absolute value of op.
absAssign(MPQ) - Method in class it.unich.jgmp.MPQ
Set this MPQ to the absolute value of op.
absAssign(MPZ) - Method in class it.unich.jgmp.MPZ
Set this MPZ to the absolute value of op.
add(MPF) - Method in class it.unich.jgmp.MPF
Return an MPF whose value is (this + op).
add(MPQ) - Method in class it.unich.jgmp.MPQ
Return an MPQ whose value is (this + op).
add(MPZ) - Method in class it.unich.jgmp.MPZ
Return an MPZ whose value is (this + op).
addAssign(MPF) - Method in class it.unich.jgmp.MPF
Set this MPF to (this + op)
addAssign(MPF, MPF) - Method in class it.unich.jgmp.MPF
Set this MPF to (op1 + op2).
addAssign(MPQ) - Method in class it.unich.jgmp.MPQ
Set this MPQ to (this + op)
addAssign(MPQ, MPQ) - Method in class it.unich.jgmp.MPQ
Set this MPQ to (op1 + op2).
addAssign(MPZ) - Method in class it.unich.jgmp.MPZ
Set this MPZ to (this + op)
addAssign(MPZ, MPZ) - Method in class it.unich.jgmp.MPZ
Set this MPZ to (op1 + op2).
addmul(MPZ, MPZ) - Method in class it.unich.jgmp.MPZ
Return an MPZ whose value is (this + op1 * op2).
addmulAssign(MPZ, MPZ) - Method in class it.unich.jgmp.MPZ
Add (op1 * op2) to this MPZ.
addmulUi(MPZ, long) - Method in class it.unich.jgmp.MPZ
Return an MPZ whose value is (this + op1 * op2).
addmulUiAssign(MPZ, long) - Method in class it.unich.jgmp.MPZ
Add (op1 * op2) to this MPZ.
addUi(long) - Method in class it.unich.jgmp.MPF
Return an MPF whose value is (this + op).
addUi(long) - Method in class it.unich.jgmp.MPZ
Return an MPZ whose value is (this + op).
addUiAssign(long) - Method in class it.unich.jgmp.MPF
Set this MPF to (this + op)
addUiAssign(long) - Method in class it.unich.jgmp.MPZ
Set this MPZ to (this + op)
addUiAssign(MPF, long) - Method in class it.unich.jgmp.MPF
Set this MPF to (op1 + op2).
addUiAssign(MPZ, long) - Method in class it.unich.jgmp.MPZ
Set this MPZ to (op1 + op2).
af - Static variable in class it.unich.jgmp.AllocationMonitor
 
afp - Variable in class it.unich.jgmp.AllocationMonitor.JGMPAlloc
 
afpOld - Static variable in class it.unich.jgmp.AllocationMonitor
 
allocatedSize - Static variable in class it.unich.jgmp.AllocationMonitor
The amount of native memory allocated by GMP, as recorded by the allocation monitor.
AllocationMonitor - Class in it.unich.jgmp
The allocation monitor keeps track of the amount of native memory allocated by GMP, and calls the Java garbage collector when it finds that too much native memory is being used.
AllocationMonitor() - Constructor for class it.unich.jgmp.AllocationMonitor
A private constructor, since this class should never be instantiated.
AllocationMonitor.JGMPAlloc - Class in it.unich.jgmp
The custom allocator function.
AllocationMonitor.JGMPFree - Class in it.unich.jgmp
The custom deallocator.
AllocationMonitor.JGMPRealloc - Class in it.unich.jgmp
The custom reallocator.
allocationThreshold - Static variable in class it.unich.jgmp.AllocationMonitor
The allocation threshold.
AllocFunc - Interface in it.unich.jgmp.nativelib
Custom allocator function callback.
AllocFuncByReference - Class in it.unich.jgmp.nativelib
A structure containing an AllocFunc callback.
AllocFuncByReference() - Constructor for class it.unich.jgmp.nativelib.AllocFuncByReference
Create an instance of this structure.
and(MPZ) - Method in class it.unich.jgmp.MPZ
Return an MPZ whose value is (this & op).
andAssign(MPZ) - Method in class it.unich.jgmp.MPZ
Set this MPZ to (this & op).
andAssign(MPZ, MPZ) - Method in class it.unich.jgmp.MPZ
Set this MPZ to (op1 & op2).

B

binUi(long) - Method in class it.unich.jgmp.MPZ
Return an MPZ whose value is the binomial coefficient this over k.
binUiAssign(long) - Method in class it.unich.jgmp.MPZ
Set this MPZ to the binomial coefficient this over k.
binUiAssign(MPZ, long) - Method in class it.unich.jgmp.MPZ
Set this MPZ to the binomial coefficient n over k.
binUiUi(long, long) - Static method in class it.unich.jgmp.MPZ
Return an MPZ whose value is the binomial coefficient n over k.
binUiUiAssign(long, long) - Method in class it.unich.jgmp.MPZ
Set this MPZ to the binomial coefficient n over k.
bufferExport(int, int, int, long) - Method in class it.unich.jgmp.MPZ
Return a ByteBuffer filled with word data from this MPZ.
bufferImport(int, int, int, long, ByteBuffer) - Static method in class it.unich.jgmp.MPZ
Return an MPZ whose value is determined from the buffer of word data at op.
bufferImportAssign(int, int, int, long, ByteBuffer) - Method in class it.unich.jgmp.MPZ
Set this MPZ from the buffer of word data at op.

C

cdivq(MPZ) - Method in class it.unich.jgmp.MPZ
Return an MPZ whose value is the quotient of the integer division (this / d), rounded towards +∞.
cdivq2Exp(long) - Method in class it.unich.jgmp.MPZ
Return an MPZ whose value is the quotient of the integer division (this / 2b), rounded towards +∞.
cdivq2ExpAssign(long) - Method in class it.unich.jgmp.MPZ
Set this MPZ to the quotient of the integer division (this / 2b), rounded toward +∞.
cdivq2ExpAssign(MPZ, long) - Method in class it.unich.jgmp.MPZ
Set this MPZ to the quotient of the integer division (n / 2b), rounded toward +∞.
cdivqAssign(MPZ) - Method in class it.unich.jgmp.MPZ
Set this MPZ to the quotient of the integer division (this / d), rounded towards +∞.
cdivqAssign(MPZ, MPZ) - Method in class it.unich.jgmp.MPZ
Set this MPZ to the quotient of the integer division (n / d), rounded towards +∞.
cdivqr(MPZ) - Method in class it.unich.jgmp.MPZ
Return a pair of MPZs whose values are the quotient and remainder of the integer division (this / d), rounded towards +∞.
cdivqrAssign(MPZ, MPZ) - Method in class it.unich.jgmp.MPZ
Set this MPZ and r to the quotient and remainder of the integer division (this / d), rounded towards +∞.
cdivqrAssign(MPZ, MPZ, MPZ) - Method in class it.unich.jgmp.MPZ
Set this MPZ and r to the quotient and remainder of the integer division (n / d), rounded towards +∞.
cdivqrUiAssign(MPZ, long) - Method in class it.unich.jgmp.MPZ
Set this MPZ and r to the quotient and remainder of the integer division (this / d), rounded towards +∞; it also returns the remainder.
cdivqrUiAssign(MPZ, MPZ, long) - Method in class it.unich.jgmp.MPZ
Set this MPZ and r to the quotient and remainder of the integer division (n / d), rounded towards +∞; it also returns the remainder.
cdivqUiAssign(long) - Method in class it.unich.jgmp.MPZ
Set this MPZ to the quotient of the integer division (this / d), rounded towards +∞; it also returns the remainder.
cdivqUiAssign(MPZ, long) - Method in class it.unich.jgmp.MPZ
Set this MPZ to the quotient of the integer division (n / d), rounded towards +∞; it also Return the remainder.
cdivr(MPZ) - Method in class it.unich.jgmp.MPZ
Return an MPZ whose value is the remainder of the integer division (this / d), rounded towards +∞.
cdivr2Exp(long) - Method in class it.unich.jgmp.MPZ
Return an MPZ whose value is the remainder of the integer division (this / 2b), rounded towards +∞.
cdivr2ExpAssign(long) - Method in class it.unich.jgmp.MPZ
Set this MPZ to the remainder of the integer division (this / 2b), rounded toward +∞.
cdivr2ExpAssign(MPZ, long) - Method in class it.unich.jgmp.MPZ
Set this MPZ to the remainder of the integer division (n / 2b), rounded toward +∞.
cdivrAssign(MPZ) - Method in class it.unich.jgmp.MPZ
Set this MPZ to the remainder of the integer division (this / d), rounded towards +∞.
cdivrAssign(MPZ, MPZ) - Method in class it.unich.jgmp.MPZ
Set this MPZ to the remainder of the integer division (n / d), rounded towards +∞.
cdivrUiAssign(long) - Method in class it.unich.jgmp.MPZ
Set this MPZ to the remainder of the integer division (this / d), rounded towards +∞; it also returns the remainder.
cdivrUiAssign(MPZ, long) - Method in class it.unich.jgmp.MPZ
Set this MPZ to the remainder of the integer division (n / d), rounded towards +∞; it also returns the remainder.
cdivUi(long) - Method in class it.unich.jgmp.MPZ
Return the remainder of the integer division (this / d), rounded towards +∞.
ceil() - Method in class it.unich.jgmp.MPF
Return an MPF whose value is this rounded to the next higher integer.
ceilAssign() - Method in class it.unich.jgmp.MPF
Set this MPF to its value rounded to the next higher integer.
ceilAssign(MPF) - Method in class it.unich.jgmp.MPF
Set this MPF to the value of op rounded to the next higher integer.
checkGC(long) - Static method in class it.unich.jgmp.AllocationMonitor
Check if the garbage collector needs to be invoked, and update the numCrossed and allocation thresholds.
cleaner - Static variable in class it.unich.jgmp.GMP
Cleaner used by the JGMP library.
clrbit(long) - Method in class it.unich.jgmp.MPZ
Return an MPZ whose value is (this & ~ 2index).
clrbitAssign(long) - Method in class it.unich.jgmp.MPZ
Clear the bit index of this MPZ.
cmp(double) - Method in class it.unich.jgmp.MPF
Compare this with op.
cmp(double) - Method in class it.unich.jgmp.MPZ
Compare this with op.
cmp(long) - Method in class it.unich.jgmp.MPF
Compare this with op.
cmp(long) - Method in class it.unich.jgmp.MPZ
Compare this with op.
cmp(long, long) - Method in class it.unich.jgmp.MPQ
Compare this with (num/dem).
cmp(MPF) - Method in class it.unich.jgmp.MPF
Compare this with op.
cmp(MPQ) - Method in class it.unich.jgmp.MPQ
Compare this with op.
cmp(MPZ) - Method in class it.unich.jgmp.MPF
Compare this with op.
cmp(MPZ) - Method in class it.unich.jgmp.MPQ
Compare this with op.
cmp(MPZ) - Method in class it.unich.jgmp.MPZ
Compare this with op.
cmpabs(double) - Method in class it.unich.jgmp.MPZ
Compare the absolute values of this and op.
cmpabs(MPZ) - Method in class it.unich.jgmp.MPZ
Compare the absolute values of this and op.
cmpabsUi(long) - Method in class it.unich.jgmp.MPZ
Compare the absolute values of this and op.
cmpUi(long) - Method in class it.unich.jgmp.MPF
Compare this with op.
cmpUi(long) - Method in class it.unich.jgmp.MPZ
Compare this with op.
cmpUi(long, long) - Method in class it.unich.jgmp.MPQ
Compare this with (num/dem).
com() - Method in class it.unich.jgmp.MPZ
Return an MPZ whose value is (~ op).
comAssign() - Method in class it.unich.jgmp.MPZ
Set this MPZ to (~ this).
comAssign(MPZ) - Method in class it.unich.jgmp.MPZ
Set this MPZ to (~ op).
combit(long) - Method in class it.unich.jgmp.MPZ
Return an MPZ whose value is (this ^ 2index).
combitAssign(long) - Method in class it.unich.jgmp.MPZ
Complement the bit index of this MPZ.
compareTo(MPF) - Method in class it.unich.jgmp.MPF
Compare this MPF with op.
compareTo(MPQ) - Method in class it.unich.jgmp.MPQ
Compare this MPQ with op.
compareTo(MPZ) - Method in class it.unich.jgmp.MPZ
Compare this MPZ with op.

D

deallocate(Pointer, SizeT) - Static method in class it.unich.jgmp.nativelib.LibGmp
Call the native deallocator used by the GMP library.
debugInfo() - Static method in class it.unich.jgmp.AllocationMonitor
Print debugging information.
debugLevel - Static variable in class it.unich.jgmp.AllocationMonitor
The debug level of the allocation monitor.
decimalSeparator - Static variable in class it.unich.jgmp.nativelib.LibGmp
The system decimal separator.
dfacUi(long) - Static method in class it.unich.jgmp.MPZ
Return an MPZ whose value the double factorial of n.
dfacUiAssign(long) - Method in class it.unich.jgmp.MPZ
Set this MPZ to the double factorial of n.
disable() - Static method in class it.unich.jgmp.AllocationMonitor
Disable the allocation monitor.
div(MPF) - Method in class it.unich.jgmp.MPF
Return an MPF whose value is (this / op).
div(MPQ) - Method in class it.unich.jgmp.MPQ
Return an MPQ whose value is (this / op).
div2Exp(long) - Method in class it.unich.jgmp.MPF
Return an MPF whose value is (this * 2b).
div2Exp(long) - Method in class it.unich.jgmp.MPQ
Return an MPQ whose value is (this / 2b).
div2ExpAssign(long) - Method in class it.unich.jgmp.MPF
Set this MPF to (this / 2b).
div2ExpAssign(long) - Method in class it.unich.jgmp.MPQ
Set this MPQ to (this / 2b).
div2ExpAssign(MPF, long) - Method in class it.unich.jgmp.MPF
Set this MPF to (op / 2b).
div2ExpAssign(MPQ, long) - Method in class it.unich.jgmp.MPQ
Set this MPQ to (op / 2b).
divAssign(MPF) - Method in class it.unich.jgmp.MPF
Set this MPF to (this / op)
divAssign(MPF, MPF) - Method in class it.unich.jgmp.MPF
Set this MPF to (op1 / op2).
divAssign(MPQ) - Method in class it.unich.jgmp.MPQ
Set this MPQ to (this / op)
divAssign(MPQ, MPQ) - Method in class it.unich.jgmp.MPQ
Set this MPQ to (op1 / op2).
divexact(MPZ) - Method in class it.unich.jgmp.MPZ
Return an MPZ whose value is the quotient of (this / d).
divexactAssign(MPZ) - Method in class it.unich.jgmp.MPZ
Set this MPZ to the quotient of (this / d).
divexactAssign(MPZ, MPZ) - Method in class it.unich.jgmp.MPZ
Set this MPZ to the quotient of (n / d).
divexactUi(long) - Method in class it.unich.jgmp.MPZ
Return an MPZ whose value is the quotient of (this / d).
divexactUiAssign(long) - Method in class it.unich.jgmp.MPZ
Set this MPZ to the quotient of (this / d).
divexactUiAssign(MPZ, long) - Method in class it.unich.jgmp.MPZ
Set this MPZ to the quotient of (n / d).
divUi(long) - Method in class it.unich.jgmp.MPF
Return an MPF whose value is (this / op).
divUiAssign(long) - Method in class it.unich.jgmp.MPF
Set this MPF to (this / op)
divUiAssign(MPF, long) - Method in class it.unich.jgmp.MPF
Set this MPF to (op1 / op2).
doubleValue() - Method in class it.unich.jgmp.MPF
Convert this MPF to a double, truncating if necessary.
doubleValue() - Method in class it.unich.jgmp.MPQ
Convert this MPQ to a double, truncating if necessary.
doubleValue() - Method in class it.unich.jgmp.MPZ
Convert this MPZ to a double, truncating if necessary.

E

enable() - Static method in class it.unich.jgmp.AllocationMonitor
Enable the allocation monitor.
equal(MPQ) - Method in class it.unich.jgmp.MPQ
Return true if this is equal to op, false otherwise.
equals(Object) - Method in class it.unich.jgmp.MPF
Compare this MPF with the object op for equality.
equals(Object) - Method in class it.unich.jgmp.MPQ
Compare this MPQ with the object op for equality.
equals(Object) - Method in class it.unich.jgmp.MPZ
Compare this MPZ with the object op for equality.

F

facUi(long) - Static method in class it.unich.jgmp.MPZ
Return an MPZ whose value is the factorial of n.
facUiAssign(long) - Method in class it.unich.jgmp.MPZ
Set this MPZ to the factorial of n.
fdivq(MPZ) - Method in class it.unich.jgmp.MPZ
Return an MPZ whose value is the quotient of the integer division (this / d), rounded towards -∞.
fdivq2Exp(long) - Method in class it.unich.jgmp.MPZ
Return an MPZ whose value is the quotient of the integer division (this / 2b), rounded towards -∞.
fdivq2ExpAssign(long) - Method in class it.unich.jgmp.MPZ
Set this MPZ to the quotient of the integer division (this / 2b), rounded toward -∞.
fdivq2ExpAssign(MPZ, long) - Method in class it.unich.jgmp.MPZ
Set this MPZ to the quotient of the integer division (n / 2b), rounded toward -∞.
fdivqAssign(MPZ) - Method in class it.unich.jgmp.MPZ
Set this MPZ to the quotient of the integer division (this / d), rounded towards -∞.
fdivqAssign(MPZ, MPZ) - Method in class it.unich.jgmp.MPZ
Set this MPZ to the quotient of the integer division (n / d), rounded towards -∞.
fdivqr(MPZ) - Method in class it.unich.jgmp.MPZ
Return two MPZs whose values are the quotient and remainder of the integer division (this / d), rounded towards -∞.
fdivqrAssign(MPZ, MPZ) - Method in class it.unich.jgmp.MPZ
Set this MPZ and r to the quotient and remainder of the integer division (this / d), rounded towards -∞.
fdivqrAssign(MPZ, MPZ, MPZ) - Method in class it.unich.jgmp.MPZ
Set this MPZ and r to the quotient and remainder of the integer division (n / d), rounded towards -∞.
fdivqrUiAssign(MPZ, long) - Method in class it.unich.jgmp.MPZ
Set this MPZ and r to the quotient and remainder of the integer division (this / d), rounded towards -∞; it also returns the absolute value of the remainder.
fdivqrUiAssign(MPZ, MPZ, long) - Method in class it.unich.jgmp.MPZ
Set this MPZ and r to the quotient and remainder of the integer division (n / d), rounded towards -∞; it also returns the absolute value of the remainder.
fdivqUiAssign(long) - Method in class it.unich.jgmp.MPZ
Set this MPZ to the quotient of the integer division (this / d), rounded towards -∞; it also returns the absolute value of the remainder.
fdivqUiAssign(MPZ, long) - Method in class it.unich.jgmp.MPZ
Set this MPZ to the quotient of the integer division (n / d), rounded towards -∞; it also returns the absolute value of the remainder.
fdivr(MPZ) - Method in class it.unich.jgmp.MPZ
Return an MPZ whose value is the remainder of the integer division (this / d), rounded towards -∞.
fdivr2Exp(long) - Method in class it.unich.jgmp.MPZ
Return an MPZ whose value is the remainder of the integer division (this / 2b), rounded towards -∞.
fdivr2ExpAssign(long) - Method in class it.unich.jgmp.MPZ
Set this MPZ to the remainder of the integer division (this / 2b), rounded toward -∞.
fdivr2ExpAssign(MPZ, long) - Method in class it.unich.jgmp.MPZ
Set this MPZ to the remainder of the integer division (n / 2b), rounded toward -∞.
fdivrAssign(MPZ) - Method in class it.unich.jgmp.MPZ
Set this MPZ to the remainder of the integer division (this / d), rounded towards -∞.
fdivrAssign(MPZ, MPZ) - Method in class it.unich.jgmp.MPZ
Set this MPZ to the remainder of the integer division (n / d), rounded towards -∞.
fdivrUiAssign(long) - Method in class it.unich.jgmp.MPZ
Set this MPZ to the remainder of the integer division (this / d), rounded towards -∞; it also returns the absolute value of the remainder.
fdivrUiAssign(MPZ, long) - Method in class it.unich.jgmp.MPZ
Set this MPZ to the remainder of the integer division (n / d), rounded towards -∞; it also returns the absolute value of the remainder.
fdivUi(long) - Method in class it.unich.jgmp.MPZ
Return the remainder of the integer division (this / d), rounded towards -∞.
ff - Static variable in class it.unich.jgmp.AllocationMonitor
 
ffp - Variable in class it.unich.jgmp.AllocationMonitor.JGMPFree
 
ffpOld - Static variable in class it.unich.jgmp.AllocationMonitor
 
fib2Ui(long) - Static method in class it.unich.jgmp.MPZ
Return two MPZ whose values are the n-th and (n-1)-th Fibonacci numbers.
fib2UiAssign(MPZ, long) - Method in class it.unich.jgmp.MPZ
Set the value of this and fnsub1 to the n-th and (n-1)-th Fibonacci numbers respecively.
fibUi(long) - Static method in class it.unich.jgmp.MPZ
Return an MPZ whose value is the n-th Fibonacci number.
fibUiAssign(long) - Method in class it.unich.jgmp.MPZ
Set this MPZ to the n-th Fibonacci number.
fitsSint() - Method in class it.unich.jgmp.MPF
Return true if and only if this MPF fits into a native signed int.
fitsSint() - Method in class it.unich.jgmp.MPZ
Return true if and only if this MPZ fits into a native signed int.
fitsSlong() - Method in class it.unich.jgmp.MPF
Return true if and only if this MPF fits into a native signed long.
fitsSlong() - Method in class it.unich.jgmp.MPZ
Return true if and only if this MPZ fits into a native signed long.
fitsSshort() - Method in class it.unich.jgmp.MPF
Return true if and only if this MPF fits into a native signed short.
fitsSshort() - Method in class it.unich.jgmp.MPZ
Return true if and only if this MPZ fits into a native signed short.
fitsUint() - Method in class it.unich.jgmp.MPF
Return true if and only if this MPF fits into a native unsigned int.
fitsUint() - Method in class it.unich.jgmp.MPZ
Return true if and only if this MPZ fits into a native unsigned int.
fitsUlong() - Method in class it.unich.jgmp.MPF
Return true if and only if this MPF fits into a native unsigned long.
fitsUlong() - Method in class it.unich.jgmp.MPZ
Return true if and only if this MPZ fits into a native unsigned long.
fitsUshort() - Method in class it.unich.jgmp.MPF
Return true if and only if this MPF fits into a native unsigned short.
fitsUshort() - Method in class it.unich.jgmp.MPZ
Return true if and only if this MPZ fits into a native unsigned short.
floatValue() - Method in class it.unich.jgmp.MPF
Convert this MPF to a float, truncating if necessary.
floatValue() - Method in class it.unich.jgmp.MPQ
Convert this MPQ to a float, truncating if necessary.
floatValue() - Method in class it.unich.jgmp.MPZ
Convert this MPZ to a float, truncating if necessary.
floor() - Method in class it.unich.jgmp.MPF
Return an MPF whose value is this rounded to the next lower integer.
floorAssign() - Method in class it.unich.jgmp.MPF
Set this MPF to its value rounded to the next lower integer.
floorAssign(MPF) - Method in class it.unich.jgmp.MPF
Set this MPF to the value of op rounded to the next lower integer.
FreeFunc - Interface in it.unich.jgmp.nativelib
Custom deallocator function callback.
FreeFuncByReference - Class in it.unich.jgmp.nativelib
A structure containing an FreeFunc callback.
FreeFuncByReference() - Constructor for class it.unich.jgmp.nativelib.FreeFuncByReference
Create an instance of this structure.

G

gcCalls - Static variable in class it.unich.jgmp.AllocationMonitor
Keep track of the number of times that GC has been called by the allocation monitor.
gcd(MPZ) - Method in class it.unich.jgmp.MPZ
Return an MPZ whose value is the greatest commond divisor of this and op.
gcdAssign(MPZ) - Method in class it.unich.jgmp.MPZ
Set this MPZ to the greatest commond divisor of this and op.
gcdAssign(MPZ, MPZ) - Method in class it.unich.jgmp.MPZ
Set this MPZ to the greatest commond divisor of op1 and op2.
gcdext(MPZ) - Method in class it.unich.jgmp.MPZ
Return the greatest common divisor of this and op, together with numbers s and t satisfying (a*this + b*op = g) See the GMP function mpz_gcdext.
gcdextAssign(MPZ, MPZ, MPZ) - Method in class it.unich.jgmp.MPZ
Set this MPZ to the greatest common divisor of this and op, and in addition Set s and t to coefficients satisfying (this*s + op*t = gcd).
gcdextAssign(MPZ, MPZ, MPZ, MPZ) - Method in class it.unich.jgmp.MPZ
Set this MPZ to the greatest common divisor of a and b, and in addition Set s and t to coefficients satisfying (a*s + b*t = gcd).
gcdUi(long) - Method in class it.unich.jgmp.MPZ
Return the greatest commond divisor of this and op.
gcdUiAssign(long) - Method in class it.unich.jgmp.MPZ
Set this MPZ to the greatest commond divisor of op1 and op2, and returns it.
gcdUiAssign(MPZ, long) - Method in class it.unich.jgmp.MPZ
Set this MPZ to the greatest commond divisor of op1 and op2, and return it.
getAllocatedSize() - Static method in class it.unich.jgmp.AllocationMonitor
Return the amount of native memory allocated by JGMP, as recorded by the allocation monitor.
getAllocationThreshold() - Static method in class it.unich.jgmp.AllocationMonitor
Return the current allocation threshold.
getBigDecimal() - Method in class it.unich.jgmp.MPF
Convert this to a BigDecimal.
getBigInteger() - Method in class it.unich.jgmp.MPZ
Converts this MPZ to BigInteger.
getBitsPerLimb() - Static method in class it.unich.jgmp.GMP
Return the number of bits per limb.
getD() - Method in class it.unich.jgmp.MPF
Convert this MPF to a double, truncating if necessary.
getD() - Method in class it.unich.jgmp.MPQ
Convert this MPQ to a double, truncating if necessary.
getD() - Method in class it.unich.jgmp.MPZ
Convert this MPZ to a double, truncating if necessary.
getD2Exp() - Method in class it.unich.jgmp.MPF
Convert this MPF to a pair made of mantissa and exponent, truncating if necessary.
getD2Exp() - Method in class it.unich.jgmp.MPZ
Convert this MPZ to a pair made of mantissa and exponent, truncating if necessary.
getDebugLevel() - Static method in class it.unich.jgmp.AllocationMonitor
Return the current debug level of the allocation monitor.
getDecimalSeparator() - Static method in class it.unich.jgmp.GMP
Return the system decimal separator, as used by the GMP.sscanf(String, String, Object...) and GMP.sprintf(String, Object...) methods.
getDecimalSeparator() - Static method in class it.unich.jgmp.nativelib.LibGmp
Return the system decimal separator.
getDefaultPrec() - Static method in class it.unich.jgmp.MPF
Return the default precision actually used.
getDen() - Method in class it.unich.jgmp.MPQ
Return the denominator of this.
getFromNativeConverter(Class<?>) - Method in class it.unich.jgmp.nativelib.GmpTypeMapper
 
getFunctionName(NativeLibrary, Method) - Method in class it.unich.jgmp.nativelib.GmpFunctionMapper
 
getGcCalls() - Static method in class it.unich.jgmp.AllocationMonitor
Return the number of times that GC has been called by the allocation monitor.
getInstance() - Static method in class it.unich.jgmp.nativelib.GmpFunctionMapper
 
getInstance() - Static method in class it.unich.jgmp.nativelib.GmpTypeMapper
 
getJGmpVersion() - Static method in class it.unich.jgmp.GMP
Return the JGMP library version.
getLowerThreshold() - Static method in class it.unich.jgmp.AllocationMonitor
Return the current value of the lower threshold.
getMajorVersion() - Static method in class it.unich.jgmp.GMP
Return the major version of the native GMP library.
getMaxAllocatedSize() - Static method in class it.unich.jgmp.AllocationMonitor
Return the maximum amount of memory ever allocated by the JGMP at the same moment, as recorded by the allocation monitor.
getMinorVersion() - Static method in class it.unich.jgmp.GMP
Return the minor version of the native GMP library.
getNative() - Method in class it.unich.jgmp.MPF
Return the native pointer to the GMP object.
getNative() - Method in class it.unich.jgmp.MPQ
Return the native pointer to the GMP object.
getNative() - Method in class it.unich.jgmp.MPZ
Return the native pointer to the GMP object.
getNative() - Method in class it.unich.jgmp.RandState
Returns the native pointer to the GMP object.
getNum() - Method in class it.unich.jgmp.MPQ
Return the numerator of this.
getPatchLevel() - Static method in class it.unich.jgmp.GMP
Return the patch level of the native GMP library.
getPrec() - Method in class it.unich.jgmp.MPF
Return the current precision of this MPF, in bits.
getSi() - Method in class it.unich.jgmp.MPF
Convert this MPF to a long, truncating any fraction part.
getSi() - Method in class it.unich.jgmp.MPZ
Convert this MPZ to a signed long.
getStr(int) - Method in class it.unich.jgmp.MPQ
Return the String representation of this MPQ in the specified base, or null if the base is not valid.
getStr(int) - Method in class it.unich.jgmp.MPZ
Return the String representation of this MPZ in the specified base, or null if the base is not valid.
getStr(int, long) - Method in class it.unich.jgmp.MPF
Return the String representation of this MPF in the specified base, or null if the base is not valid.
getTimeout() - Static method in class it.unich.jgmp.AllocationMonitor
Return the current timeout value.
getToNativeConverter(Class<?>) - Method in class it.unich.jgmp.nativelib.GmpTypeMapper
 
getUi() - Method in class it.unich.jgmp.MPF
Convert this MPF to an unsigned long, truncating any fraction part.
getUi() - Method in class it.unich.jgmp.MPZ
Convert this MPZ to an unsigned long.
getValue() - Method in class it.unich.jgmp.nativelib.MpExpTByReference
Get the value of mp_exp_t object pointed by this reference.
getValue() - Method in class it.unich.jgmp.nativelib.SizeTByReference
Get the value of size_t object pointed by this reference.
getVersion() - Static method in class it.unich.jgmp.GMP
Return the version of the native GMP library.
GMP - Class in it.unich.jgmp
Collects global variables and static methods which do no fit in more specific classes.
GMP() - Constructor for class it.unich.jgmp.GMP
A private constructor since this class should never be instantiated.
gmp_asprintf(PointerByReference, String, Object...) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
gmp_asprintf(PointerByReference, String, Object...) - Method in interface it.unich.jgmp.nativelib.LibGmp.LibGmpExtra
 
gmp_deallocator - Static variable in class it.unich.jgmp.nativelib.LibGmp
The native deallocator used by the GMP library.
gmp_default_deallocator - Static variable in class it.unich.jgmp.nativelib.LibGmp
The default native deallocator used by the GMP library.
gmp_errno() - Static method in class it.unich.jgmp.nativelib.LibGmp
Return the value of the global error variable, used by obsolete random number functions.
gmp_errno_pointer - Static variable in class it.unich.jgmp.nativelib.LibGmp
Pointer to the gmp_errno variable.
GMP_ERROR_DIVISION_BY_ZERO - Static variable in class it.unich.jgmp.nativelib.LibGmp
 
GMP_ERROR_INVALID_ARGUMENT - Static variable in class it.unich.jgmp.nativelib.LibGmp
 
GMP_ERROR_NONE - Static variable in class it.unich.jgmp.nativelib.LibGmp
 
GMP_ERROR_SQRT_OF_NEGATIVE - Static variable in class it.unich.jgmp.nativelib.LibGmp
 
GMP_ERROR_UNSUPPORTED_ARGUMENT - Static variable in class it.unich.jgmp.nativelib.LibGmp
 
gmp_fprintf(Pointer, String, Object...) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
gmp_fprintf(Pointer, String, Object...) - Method in interface it.unich.jgmp.nativelib.LibGmp.LibGmpExtra
 
gmp_fscanf(Pointer, String, Object...) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
gmp_fscanf(Pointer, String, Object...) - Method in interface it.unich.jgmp.nativelib.LibGmp.LibGmpExtra
 
gmp_printf(String, Object...) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
gmp_printf(String, Object...) - Method in interface it.unich.jgmp.nativelib.LibGmp.LibGmpExtra
 
GMP_RAND_ALG_DEFAULT - Static variable in class it.unich.jgmp.nativelib.LibGmp
 
GMP_RAND_ALG_LC - Static variable in class it.unich.jgmp.nativelib.LibGmp
 
gmp_randclear(GmpRandstateT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
gmp_randinit(GmpRandstateT, int, NativeLong) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
gmp_randinit_default(GmpRandstateT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
gmp_randinit_lc_2exp(GmpRandstateT, MpzT, NativeUnsignedLong, MpBitcntT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
gmp_randinit_lc_2exp_size(GmpRandstateT, MpBitcntT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
gmp_randinit_mt(GmpRandstateT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
gmp_randinit_set(GmpRandstateT, GmpRandstateT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
gmp_randseed(GmpRandstateT, MpzT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
gmp_randseed_ui(GmpRandstateT, NativeUnsignedLong) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
gmp_scanf(String, Object...) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
gmp_scanf(String, Object...) - Method in interface it.unich.jgmp.nativelib.LibGmp.LibGmpExtra
 
gmp_snprintf(ByteBuffer, SizeT, String, Object...) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
gmp_snprintf(ByteBuffer, SizeT, String, Object...) - Method in interface it.unich.jgmp.nativelib.LibGmp.LibGmpExtra
 
gmp_sprintf(ByteBuffer, String, Object...) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
gmp_sprintf(ByteBuffer, String, Object...) - Method in interface it.unich.jgmp.nativelib.LibGmp.LibGmpExtra
 
gmp_sscanf(String, String, Object...) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
gmp_sscanf(String, String, Object...) - Method in interface it.unich.jgmp.nativelib.LibGmp.LibGmpExtra
 
gmp_urandomb_ui(GmpRandstateT, NativeUnsignedLong) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
gmp_urandomm_ui(GmpRandstateT, NativeUnsignedLong) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
gmp_vasprintf(PointerByReference, String, Pointer) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
gmp_version - Static variable in class it.unich.jgmp.nativelib.LibGmp
The native GMP version number, in the form “i.j.k”.
gmp_vfprintf(Pointer, String, Pointer) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
gmp_vfscanf(Pointer, String, Pointer) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
gmp_vprintf(String, Pointer) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
gmp_vscanf(String, Pointer) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
gmp_vsnprintf(ByteBuffer, SizeT, String, Pointer) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
gmp_vsprintf(ByteBuffer, String, Pointer) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
gmp_vsscanf(String, String, Pointer) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
gmpextra - Static variable in class it.unich.jgmp.nativelib.LibGmp
Instance of the LibGmpExtra interface created at initialization time.
GmpFunctionMapper - Class in it.unich.jgmp.nativelib
A FunctionMapper which converts the official GMP function names (beginning with mpz, mpq, mpf and gmp) to the names used by the C library (beginning with __gmp).
GmpFunctionMapper() - Constructor for class it.unich.jgmp.nativelib.GmpFunctionMapper
 
GmpRandstateT - Class in it.unich.jgmp.nativelib
Type representing an object of the gmp_randstate_t native type.
GmpRandstateT() - Constructor for class it.unich.jgmp.nativelib.GmpRandstateT
Allocate the memory needed for an gmp_randstate_t structure and return the pointer to it.
GmpRandstateT(Pointer) - Constructor for class it.unich.jgmp.nativelib.GmpRandstateT
Create a new GmpRandstateT corresponding to the pointer p.
GmpTypeMapper - Class in it.unich.jgmp.nativelib
A TypeMapper for the types MPZ, MPQ and MPF.
GmpTypeMapper() - Constructor for class it.unich.jgmp.nativelib.GmpTypeMapper
 
GmpTypeMapper.MPFToNativeConverter - Class in it.unich.jgmp.nativelib
A converter from MPF to the native pointer type.
GmpTypeMapper.MPQToNativeConverter - Class in it.unich.jgmp.nativelib
A converter from MPQ to the native pointer type.
GmpTypeMapper.MPZToNativeConverter - Class in it.unich.jgmp.nativelib
A converter from MPZ to the native pointer type.

H

hamdist(MPZ) - Method in class it.unich.jgmp.MPZ
If this and op are both >= 0 or both < 0, return the Hamming distance between them, which is the number of bit positions where this and op have different bit values.
hashCode() - Method in class it.unich.jgmp.MPF
Return a hash code value for this MPF.
hashCode() - Method in class it.unich.jgmp.MPQ
Return a hash code value for this MPQ.
hashCode() - Method in class it.unich.jgmp.MPZ
Return a hash code value for this MPZ.

I

init() - Static method in class it.unich.jgmp.MPF
Return an MPF whose value is zero.
init() - Static method in class it.unich.jgmp.MPQ
Return an MPQ whose value is zero.
init() - Static method in class it.unich.jgmp.MPZ
Return an MPZ whose value is zero.
init2(long) - Static method in class it.unich.jgmp.MPF
Return an MPF whose value is zero, and set its precision to be at least prec bits.
init2(long) - Static method in class it.unich.jgmp.MPZ
Return an MPZ whose value is zero, with pre-allocated space for n-bit numbers.
initSet(double) - Static method in class it.unich.jgmp.MPF
Return an MPF whose value is op, possibly truncated to the default precision.
initSet(double) - Static method in class it.unich.jgmp.MPZ
Return an MPZ whose value is the truncation of op.
initSet(long) - Static method in class it.unich.jgmp.MPF
Return an MPF whose value is op, possibly truncated to the default precision.
initSet(long) - Static method in class it.unich.jgmp.MPZ
Return an MPZ whose value is op.
initSet(MPF) - Static method in class it.unich.jgmp.MPF
Return an MPF whose value is op, possibly truncated to the default precision.
initSet(MPZ) - Static method in class it.unich.jgmp.MPZ
Return an MPZ whose value is op.
initSet(String, int) - Static method in class it.unich.jgmp.MPF
Return an MPF whose value is the number represented by the string str in the specified base, possibly truncated to the default precision.
initSet(String, int) - Static method in class it.unich.jgmp.MPZ
Return an MPZ whose value is the number represented by the string str in the specified base.
initSetUi(long) - Static method in class it.unich.jgmp.MPF
Return an MPF whose value is op, possibly truncated to the default precision.
initSetUi(long) - Static method in class it.unich.jgmp.MPZ
Return an MPZ whose value is op.
instance - Static variable in class it.unich.jgmp.nativelib.GmpFunctionMapper
 
instance - Static variable in class it.unich.jgmp.nativelib.GmpTypeMapper
 
intValue() - Method in class it.unich.jgmp.MPF
Convert this MPF to an int.
intValue() - Method in class it.unich.jgmp.MPQ
Convert this MPQ to an int, truncating if necessary.
intValue() - Method in class it.unich.jgmp.MPZ
Convert this MPZ to a signed int, truncating if necessary.
inv() - Method in class it.unich.jgmp.MPQ
Return an MPQ whose value is (1/this).
invAssign() - Method in class it.unich.jgmp.MPQ
Set this MPQ to its inverse.
invAssign(MPQ) - Method in class it.unich.jgmp.MPQ
Set this MPQ to 1/op.
invert(MPZ) - Method in class it.unich.jgmp.MPZ
Optionally return, when it exists, an MPZ whose value is the inverse of this modulo op.
invertAssign(MPZ) - Method in class it.unich.jgmp.MPZ
Set this MPZ to the inverse of this modulo op.
invertAssign(MPZ, MPZ) - Method in class it.unich.jgmp.MPZ
Set this MPZ to the inverse of op1 modulo op2.
invoke(Pointer, SizeT) - Method in class it.unich.jgmp.AllocationMonitor.JGMPFree
 
invoke(Pointer, SizeT) - Method in interface it.unich.jgmp.nativelib.FreeFunc
De-allocate the space pointed to by ptr.
invoke(Pointer, SizeT, SizeT) - Method in class it.unich.jgmp.AllocationMonitor.JGMPRealloc
 
invoke(Pointer, SizeT, SizeT) - Method in interface it.unich.jgmp.nativelib.ReallocFunc
Resize a previously allocated block ptr of old_size bytes to be new_size bytes.
invoke(SizeT) - Method in class it.unich.jgmp.AllocationMonitor.JGMPAlloc
 
invoke(SizeT) - Method in interface it.unich.jgmp.nativelib.AllocFunc
Return a pointer to newly allocated space with at least alloc_size bytes.
ior(MPZ) - Method in class it.unich.jgmp.MPZ
Return an MPZ whose value is (this | op).
iorAssign(MPZ) - Method in class it.unich.jgmp.MPZ
Set this MPZ to (this | op).
iorAssign(MPZ, MPZ) - Method in class it.unich.jgmp.MPZ
Set this MPZ to (op1 | op2).
isCongruent(MPZ, MPZ) - Method in class it.unich.jgmp.MPZ
Return true if and only if this is congruent to c modulo d.
isCongruent2Exp(MPZ, long) - Method in class it.unich.jgmp.MPZ
Return true if and only if this is congruent to c modulo 2b.
isCongruentUi(long, long) - Method in class it.unich.jgmp.MPZ
Return true if and only if this is congruent to c modulo d.
isDivisible(MPZ) - Method in class it.unich.jgmp.MPZ
Return true if and only if this is exactly divisible by d.
isDivisible2Exp(long) - Method in class it.unich.jgmp.MPZ
Return true if and only if this is exactly divisible by 2b.
isDivisibleUi(long) - Method in class it.unich.jgmp.MPZ
Return true if and only if this is exactly divisible by d.
isEven() - Method in class it.unich.jgmp.MPZ
Return true if and only if this MPZ is even
isInteger() - Method in class it.unich.jgmp.MPF
Return whether this MPF is an integer.
isOdd() - Method in class it.unich.jgmp.MPZ
Return true if and only if this MPZ is odd.
isPerfectPower() - Method in class it.unich.jgmp.MPZ
Return true if and only if this number is a perfect power, i.e., if there exist integers a and b, with (b > 1), such that this equals (ab).
isPerfectSquare() - Method in class it.unich.jgmp.MPZ
Return true if and only if this number is a perfect square.
isProbabPrime(int) - Method in class it.unich.jgmp.MPZ
Return true if and only if this is prime.
isZero() - Method in class it.unich.jgmp.MPF
Return true if and only if this this MPF is zero.
isZero() - Method in class it.unich.jgmp.MPQ
Return true if and only if this MPQ is zero.
isZero() - Method in class it.unich.jgmp.MPZ
Return true if and only if this MPZ is zero.
it.unich.jgmp - package it.unich.jgmp
This package contains all the high-level classes of JGMP.
it.unich.jgmp.nativelib - package it.unich.jgmp.nativelib
This package contains all the low-level classes of JGMP.

J

jacobi(MPZ) - Method in class it.unich.jgmp.MPZ
Return the Jacobi symbol (this / b).
JGMPAlloc(AllocFuncByReference) - Constructor for class it.unich.jgmp.AllocationMonitor.JGMPAlloc
 
JGMPFree(FreeFuncByReference) - Constructor for class it.unich.jgmp.AllocationMonitor.JGMPFree
 
JGMPRealloc(ReallocFuncByReference) - Constructor for class it.unich.jgmp.AllocationMonitor.JGMPRealloc
 

K

kronecker(long) - Method in class it.unich.jgmp.MPZ
Return the Jacobi symbol (this / b) with the Kronecker extension.
kronecker(MPZ) - Method in class it.unich.jgmp.MPZ
Return the Jacobi symbol (this / n) with the Kronecker extension (this/2)=(2/this) when this is odd, or (this/2)=0 when this is even.
kroneckerReverse(long) - Method in class it.unich.jgmp.MPZ
Return the Jacobi symbol (a / this) with the Kronecker extension.
kroneckerUi(long) - Method in class it.unich.jgmp.MPZ
Return the Jacobi symbol (this / b) with the Kronecker extension.

L

lcm(MPZ) - Method in class it.unich.jgmp.MPZ
Return an MPZ whose value is the least common multiple of this and op.
lcmAssign(MPZ) - Method in class it.unich.jgmp.MPZ
Set this MPZ to the least common multiple of this and op.
lcmAssign(MPZ, MPZ) - Method in class it.unich.jgmp.MPZ
Set this MPZ to the least common multiple of op1 and op2.
lcmUi(long) - Method in class it.unich.jgmp.MPZ
Return the least common multiple of this and op.
lcmUiAssign(long) - Method in class it.unich.jgmp.MPZ
Set this MPZ to the least common multiple of this and op.
lcmUiAssign(MPZ, long) - Method in class it.unich.jgmp.MPZ
Set this MPZ to the least common multiple of op1 and op2.
legendre(MPZ) - Method in class it.unich.jgmp.MPZ
Return the Legendre symbol (this / p).
LibGmp - Class in it.unich.jgmp.nativelib
This class contains the static native methods corresponding to GMP functions.
LibGmp() - Constructor for class it.unich.jgmp.nativelib.LibGmp
A private constructor, since this class should never be instantiated.
LibGmp.LibGmpExtra - Interface in it.unich.jgmp.nativelib
Interface for the native functions with a variable number of arguments.
LIBNAME - Static variable in class it.unich.jgmp.nativelib.LibGmp
The undecorated name of the GMP library.
longValue() - Method in class it.unich.jgmp.MPF
Convert this MPF to a long, truncating any fraction part.
longValue() - Method in class it.unich.jgmp.MPQ
Convert this MPQ to an long, truncating if necessary.
longValue() - Method in class it.unich.jgmp.MPZ
Convert this MPZ to a signed long.
lowerThreshold - Static variable in class it.unich.jgmp.AllocationMonitor
The lower threshold.
lucnum2Ui(long) - Static method in class it.unich.jgmp.MPZ
Return two MPZ whose values are the n-th and (n-1)-th Lucas numbers.
lucnum2UiAssign(MPZ, long) - Method in class it.unich.jgmp.MPZ
Set the value of this and fnsub1 to the n-th and (n-1)-th Lucas numbers respecively.
lucnumUi(long) - Static method in class it.unich.jgmp.MPZ
Return an MPZ whose value is the n-th Lucas number.
lucnumUiAssign(long) - Method in class it.unich.jgmp.MPZ
Set this MPZ to the n-th Lucas number.

M

maxAllocatedSize - Static variable in class it.unich.jgmp.AllocationMonitor
The maximum amount of memory allocated by GMP.
maxStepTimeout - Static variable in class it.unich.jgmp.AllocationMonitor
The maximum delay for a single timeout step.
mfacUiUi(long, long) - Static method in class it.unich.jgmp.MPZ
Return an MPZ whose value is the m-multi factorial of n.
mfacUiUiAssign(long, long) - Method in class it.unich.jgmp.MPZ
Set this MPZ to the m-multi factorial of n.
mod(MPZ) - Method in class it.unich.jgmp.MPZ
Return an MPZ whose value is (this mod d).
modAssign(MPZ) - Method in class it.unich.jgmp.MPZ
Set this MPZ to (this mod d).
modAssign(MPZ, MPZ) - Method in class it.unich.jgmp.MPZ
Set this MPZ to (n mod d).
modUi(long) - Method in class it.unich.jgmp.MPZ
Return an MPZ whose value is (this mod d).
modUiAssign(long) - Method in class it.unich.jgmp.MPZ
Set this MPZ to (n mod d); it also returns the result.
modUiAssign(MPZ, long) - Method in class it.unich.jgmp.MPZ
Set this MPZ to (n mod d); it also returns the result.
mp_bits_per_limb - Static variable in class it.unich.jgmp.nativelib.LibGmp
The number of bits per limb.
mp_get_memory_functions(AllocFuncByReference, ReallocFuncByReference, FreeFuncByReference) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mp_set_memory_functions(AllocFunc, ReallocFunc, FreeFunc) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
MpBitcntT - Class in it.unich.jgmp.nativelib
The native mp_bitcnt_t data type, which may be a 32 or 64 bit unsigned integer.
MpBitcntT() - Constructor for class it.unich.jgmp.nativelib.MpBitcntT
Create an mp_bitcnt_t with value 0
MpBitcntT(long) - Constructor for class it.unich.jgmp.nativelib.MpBitcntT
Create a mp_bitcnt_t with the specified value.
MpExpT - Class in it.unich.jgmp.nativelib
The native mp_exp_t data type, which may be a 32, 48 or 64 bit signed integer.
MpExpT() - Constructor for class it.unich.jgmp.nativelib.MpExpT
Create an mp_size_t with value 0
MpExpT(long) - Constructor for class it.unich.jgmp.nativelib.MpExpT
Create a mp_exp_t with the specified value.
MpExpTByReference - Class in it.unich.jgmp.nativelib
A reference to the native mp_exp_t data type.
MpExpTByReference() - Constructor for class it.unich.jgmp.nativelib.MpExpTByReference
Create a reference to a newly allocated mp_exp_t object.
MpExpTByReference(MpExpT) - Constructor for class it.unich.jgmp.nativelib.MpExpTByReference
Create a reference to a newly allocated mp_exp_t object, which is initialized with value.
MPF - Class in it.unich.jgmp
Multi-precision floating point numbers.
MPF() - Constructor for class it.unich.jgmp.MPF
Build an MPF whose value is zero.
MPF(double) - Constructor for class it.unich.jgmp.MPF
Build an MPF whose value is op, possibly truncated to the default precision.
MPF(long) - Constructor for class it.unich.jgmp.MPF
Build an MPF whose value is op, possibly truncated to the default precision.
MPF(MPF) - Constructor for class it.unich.jgmp.MPF
Build an MPF whose value is op, possibly truncated to the default precision.
MPF(MPQ) - Constructor for class it.unich.jgmp.MPF
Build an MPF whose value is op, possibly truncated to the default precision.
MPF(MPZ) - Constructor for class it.unich.jgmp.MPF
Build an MPF whose value is op, possibly truncated to the default precision.
MPF(MpfT) - Constructor for class it.unich.jgmp.MPF
A private constructor which build an MPF starting from a pointer to its native data object.
MPF(String) - Constructor for class it.unich.jgmp.MPF
Build an MPF whose value is the number represented by the string str in decimal base, possibly truncated to the default precision.
MPF(String, int) - Constructor for class it.unich.jgmp.MPF
Build an MPF whose value is the number represented by the string str in the specified base, possibly truncated to the default precision.
MPF(BigDecimal) - Constructor for class it.unich.jgmp.MPF
Builds an MPF whose value is the same as op.
mpf_abs(MpfT, MpfT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpf_add(MpfT, MpfT, MpfT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpf_add_ui(MpfT, MpfT, NativeUnsignedLong) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpf_ceil(MpfT, MpfT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpf_clear(MpfT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpf_clears(MpfT...) - Method in interface it.unich.jgmp.nativelib.LibGmp.LibGmpExtra
 
mpf_clears(MpfT...) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpf_cmp(MpfT, MpfT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpf_cmp_d(MpfT, double) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpf_cmp_si(MpfT, NativeLong) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpf_cmp_ui(MpfT, NativeUnsignedLong) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpf_cmp_z(MpfT, MpzT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpf_div(MpfT, MpfT, MpfT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpf_div_2exp(MpfT, MpfT, MpBitcntT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpf_div_ui(MpfT, MpfT, NativeUnsignedLong) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpf_eq(MpfT, MpfT, MpBitcntT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpf_fits_sint_p(MpfT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpf_fits_slong_p(MpfT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpf_fits_sshort_p(MpfT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpf_fits_uint_p(MpfT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpf_fits_ulong_p(MpfT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpf_fits_ushort_p(MpfT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpf_floor(MpfT, MpfT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpf_get_d(MpfT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpf_get_d_2exp(NativeLongByReference, MpfT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpf_get_default_prec() - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpf_get_prec(MpfT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpf_get_si(MpfT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpf_get_str(ByteBuffer, MpExpTByReference, int, MpSizeT, MpfT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpf_get_ui(MpfT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpf_init(MpfT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpf_init_set(MpfT, MpfT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpf_init_set_d(MpfT, double) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpf_init_set_si(MpfT, NativeLong) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpf_init_set_str(MpfT, String, int) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpf_init_set_ui(MpfT, NativeUnsignedLong) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpf_init2(MpfT, MpBitcntT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpf_inits(MpfT...) - Method in interface it.unich.jgmp.nativelib.LibGmp.LibGmpExtra
 
mpf_inits(MpfT...) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpf_inp_str(MpqT, Pointer, int) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpf_integer_p(MpfT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpf_mul(MpfT, MpfT, MpfT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpf_mul_2exp(MpfT, MpfT, MpBitcntT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpf_mul_ui(MpfT, MpfT, NativeUnsignedLong) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpf_neg(MpfT, MpfT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpf_out_str(Pointer, int, SizeT, MpfT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpf_pow_ui(MpfT, MpfT, NativeUnsignedLong) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpf_random2(MpfT, MpSizeT, MpExpT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpf_reldiff(MpfT, MpfT, MpfT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpf_set(MpfT, MpfT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpf_set_d(MpfT, double) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpf_set_default_prec(MpBitcntT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpf_set_prec(MpfT, MpBitcntT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpf_set_prec_raw(MpfT, MpBitcntT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpf_set_q(MpfT, MpqT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpf_set_si(MpfT, NativeLong) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpf_set_str(MpfT, String, int) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpf_set_ui(MpfT, NativeUnsignedLong) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpf_set_z(MpfT, MpzT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpf_sgn(MpfT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
MPF_SIZE - Static variable in class it.unich.jgmp.nativelib.MpfT
The size of the mpf_t native type.
mpf_sqrt(MpfT, MpfT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpf_sqrt_ui(MpfT, NativeUnsignedLong) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpf_sub(MpfT, MpfT, MpfT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpf_sub_ui(MpfT, MpfT, NativeUnsignedLong) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpf_swap(MpfT, MpfT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpf_trunc(MpfT, MpfT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpf_ui_div(MpfT, NativeUnsignedLong, MpfT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpf_ui_sub(MpfT, NativeUnsignedLong, MpfT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpf_urandomb(MpfT, GmpRandstateT, MpBitcntT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpf_zero - Static variable in class it.unich.jgmp.nativelib.LibGmp
The floating point 0 (assuming no one changes it)
MPF.MPFCleaner - Class in it.unich.jgmp
Cleaning action for the MPF class.
MPFCleaner(MpfT) - Constructor for class it.unich.jgmp.MPF.MPFCleaner
 
mpfConverter - Variable in class it.unich.jgmp.nativelib.GmpTypeMapper
 
mpfNative - Variable in class it.unich.jgmp.MPF
The pointer to the native mpf_t object.
mpfPointer - Variable in class it.unich.jgmp.MPF.MPFCleaner
 
MpfT - Class in it.unich.jgmp.nativelib
Type representing an object of the mpf_t native type.
MpfT() - Constructor for class it.unich.jgmp.nativelib.MpfT
Allocate the memory needed for an mpf_t native type and return the pointer to it.
MpfT(Pointer) - Constructor for class it.unich.jgmp.nativelib.MpfT
Create a new MpfT corresponding to the pointer p.
MPFToNativeConverter() - Constructor for class it.unich.jgmp.nativelib.GmpTypeMapper.MPFToNativeConverter
 
MPQ - Class in it.unich.jgmp
Multi-precision rational numbers.
MPQ() - Constructor for class it.unich.jgmp.MPQ
Build an MPQ whose value is zero.
MPQ(double) - Constructor for class it.unich.jgmp.MPQ
Build an MPQ whose value is op.
MPQ(long) - Constructor for class it.unich.jgmp.MPQ
Build an MPQ whose value is op.
MPQ(long, long) - Constructor for class it.unich.jgmp.MPQ
Build an MPQ whose value is (num/dem).
MPQ(MPF) - Constructor for class it.unich.jgmp.MPQ
Build an MPQ whose value is op.
MPQ(MPQ) - Constructor for class it.unich.jgmp.MPQ
Build an MPQ whose value is op.
MPQ(MPZ) - Constructor for class it.unich.jgmp.MPQ
Build an MPQ whose value is op.
MPQ(MpqT) - Constructor for class it.unich.jgmp.MPQ
A private constructor which build an MPQ starting from a pointer to its native data object.
MPQ(String) - Constructor for class it.unich.jgmp.MPQ
Build an MPQ whose value is the number represented by the string str in decimal base.
MPQ(String, int) - Constructor for class it.unich.jgmp.MPQ
Build an MPQ whose value is the number represented by the string str in the specified base.
mpq_abs(MpqT, MpqT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpq_add(MpqT, MpqT, MpqT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpq_canonicalize(MpqT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpq_clear(MpqT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpq_clears(MpqT...) - Method in interface it.unich.jgmp.nativelib.LibGmp.LibGmpExtra
 
mpq_clears(MpqT...) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpq_cmp(MpqT, MpqT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpq_cmp_si(MpqT, NativeLong, NativeUnsignedLong) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpq_cmp_ui(MpqT, NativeUnsignedLong, NativeUnsignedLong) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpq_cmp_z(MpqT, MpzT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpq_denref(MpqT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpq_div(MpqT, MpqT, MpqT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpq_div_2exp(MpqT, MpqT, MpBitcntT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpq_equal(MpqT, MpqT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpq_get_d(MpqT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpq_get_den(MpzT, MpqT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpq_get_num(MpzT, MpqT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpq_get_str(ByteBuffer, int, MpqT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpq_init(MpqT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpq_inits(MpqT...) - Method in interface it.unich.jgmp.nativelib.LibGmp.LibGmpExtra
 
mpq_inits(MpqT...) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpq_inp_str(MpqT, Pointer, int) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpq_inv(MpqT, MpqT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpq_mul(MpqT, MpqT, MpqT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpq_mul_2exp(MpqT, MpqT, MpBitcntT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpq_neg(MpqT, MpqT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpq_numref(MpqT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpq_out_str(Pointer, int, MpqT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpq_set(MpqT, MpqT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpq_set_d(MpqT, double) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpq_set_den(MpqT, MpzT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpq_set_f(MpqT, MpfT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpq_set_num(MpqT, MpzT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpq_set_si(MpqT, NativeLong, NativeLong) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpq_set_str(MpqT, String, int) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpq_set_ui(MpqT, NativeUnsignedLong, NativeUnsignedLong) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpq_set_z(MpqT, MpzT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpq_sgn(MpqT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
MPQ_SIZE - Static variable in class it.unich.jgmp.nativelib.MpqT
The size of the mpq_t native type.
mpq_sub(MpqT, MpqT, MpqT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpq_swap(MpqT, MpqT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpq_zero - Static variable in class it.unich.jgmp.nativelib.LibGmp
The rational 0 (assuming no one changes it)
MPQ.MPQCleaner - Class in it.unich.jgmp
Cleaning action for the MPQ class.
MPQCleaner(MpqT) - Constructor for class it.unich.jgmp.MPQ.MPQCleaner
 
mpqConverter - Variable in class it.unich.jgmp.nativelib.GmpTypeMapper
 
mpqNative - Variable in class it.unich.jgmp.MPQ
The pointer to the native mpq_t object.
mpqPointer - Variable in class it.unich.jgmp.MPQ.MPQCleaner
 
MpqT - Class in it.unich.jgmp.nativelib
Type representing an object of the mpq_t native type.
MpqT() - Constructor for class it.unich.jgmp.nativelib.MpqT
Allocate the memory needed for an mpq_t native type and return the pointer to it.
MpqT(Pointer) - Constructor for class it.unich.jgmp.nativelib.MpqT
Create a new MpqT corresponding to the pointer p.
MPQToNativeConverter() - Constructor for class it.unich.jgmp.nativelib.GmpTypeMapper.MPQToNativeConverter
 
MpSizeT - Class in it.unich.jgmp.nativelib
The native mp_size_t data type, which may be a 32, 48 or 64 bit signed integer.
MpSizeT() - Constructor for class it.unich.jgmp.nativelib.MpSizeT
Create an mp_size_t with value 0
MpSizeT(long) - Constructor for class it.unich.jgmp.nativelib.MpSizeT
Create a mp_size_t with the specified value.
MPZ - Class in it.unich.jgmp
Multi-precision integer number.
MPZ() - Constructor for class it.unich.jgmp.MPZ
Build an MPZ whose value is zero.
MPZ(double) - Constructor for class it.unich.jgmp.MPZ
Build an MPZ whose value is the truncation of op.
MPZ(long) - Constructor for class it.unich.jgmp.MPZ
Build an MPZ whose value is op.
MPZ(MPF) - Constructor for class it.unich.jgmp.MPZ
Build an MPZ whose value is the truncation of op.
MPZ(MPQ) - Constructor for class it.unich.jgmp.MPZ
Build an MPZ whose value is the truncation of op.
MPZ(MPZ) - Constructor for class it.unich.jgmp.MPZ
Build an MPZ whose value is op.
MPZ(MpzT) - Constructor for class it.unich.jgmp.MPZ
A private constructor which build an MPZ starting from a pointer to its native data object.
MPZ(String) - Constructor for class it.unich.jgmp.MPZ
Build an MPZ whose value is the number represented by the string str in decimal base.
MPZ(String, int) - Constructor for class it.unich.jgmp.MPZ
Build an MPZ whose value is the number represented by the string str in the specified base.
MPZ(BigInteger) - Constructor for class it.unich.jgmp.MPZ
Builds an MPZ whose value is the same as op.
mpz_2fac_ui(MpzT, NativeUnsignedLong) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_abs(MpzT, MpzT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_add(MpzT, MpzT, MpzT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_add_ui(MpzT, MpzT, NativeUnsignedLong) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_addmul(MpzT, MpzT, MpzT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_addmul_ui(MpzT, MpzT, NativeUnsignedLong) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_and(MpzT, MpzT, MpzT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_bin_ui(MpzT, MpzT, NativeUnsignedLong) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_bin_uiui(MpzT, NativeUnsignedLong, NativeUnsignedLong) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_cdiv_q(MpzT, MpzT, MpzT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_cdiv_q_2exp(MpzT, MpzT, MpBitcntT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_cdiv_q_ui(MpzT, MpzT, NativeUnsignedLong) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_cdiv_qr(MpzT, MpzT, MpzT, MpzT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_cdiv_qr_ui(MpzT, MpzT, MpzT, NativeUnsignedLong) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_cdiv_r(MpzT, MpzT, MpzT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_cdiv_r_2exp(MpzT, MpzT, MpBitcntT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_cdiv_r_ui(MpzT, MpzT, NativeUnsignedLong) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_cdiv_ui(MpzT, NativeUnsignedLong) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_clear(MpzT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_clears(MpzT...) - Method in interface it.unich.jgmp.nativelib.LibGmp.LibGmpExtra
 
mpz_clears(MpzT...) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_clrbit(MpzT, MpBitcntT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_cmp(MpzT, MpzT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_cmp_d(MpzT, double) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_cmp_si(MpzT, NativeLong) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_cmp_ui(MpzT, NativeUnsignedLong) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_cmpabs(MpzT, MpzT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_cmpabs_d(MpzT, double) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_cmpabs_ui(MpzT, NativeUnsignedLong) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_com(MpzT, MpzT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_combit(MpzT, MpBitcntT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_congruent_2exp_p(MpzT, MpzT, MpBitcntT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_congruent_p(MpzT, MpzT, MpzT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_congruent_ui_p(MpzT, NativeUnsignedLong, NativeUnsignedLong) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_divexact(MpzT, MpzT, MpzT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_divexact_ui(MpzT, MpzT, NativeUnsignedLong) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_divisible_2exp_p(MpzT, MpBitcntT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_divisible_p(MpzT, MpzT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_divisible_ui_p(MpzT, NativeUnsignedLong) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_even_p(MpzT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_export(ByteBuffer, SizeTByReference, int, SizeT, int, SizeT, MpzT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_fac_ui(MpzT, NativeUnsignedLong) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_fdiv_q(MpzT, MpzT, MpzT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_fdiv_q_2exp(MpzT, MpzT, NativeUnsignedLong) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_fdiv_q_ui(MpzT, MpzT, NativeUnsignedLong) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_fdiv_qr(MpzT, MpzT, MpzT, MpzT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_fdiv_qr_ui(MpzT, MpzT, MpzT, NativeUnsignedLong) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_fdiv_r(MpzT, MpzT, MpzT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_fdiv_r_2exp(MpzT, MpzT, NativeUnsignedLong) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_fdiv_r_ui(MpzT, MpzT, NativeUnsignedLong) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_fdiv_ui(MpzT, NativeUnsignedLong) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_fib_ui(MpzT, NativeUnsignedLong) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_fib2_ui(MpzT, MpzT, NativeUnsignedLong) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_fits_sint_p(MpzT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_fits_slong_p(MpzT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_fits_sshort_p(MpzT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_fits_uint_p(MpzT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_fits_ulong_p(MpzT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_fits_ushort_p(MpzT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_gcd(MpzT, MpzT, MpzT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_gcd_ui(MpzT, MpzT, NativeUnsignedLong) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_gcdext(MpzT, MpzT, MpzT, MpzT, MpzT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_get_d(MpzT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_get_d_2exp(NativeLongByReference, MpzT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_get_si(MpzT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_get_str(ByteBuffer, int, MpzT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_get_ui(MpzT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_hamdist(MpzT, MpzT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_import(MpzT, SizeT, int, SizeT, int, SizeT, ByteBuffer) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_init(MpzT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_init_set(MpzT, MpzT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_init_set_d(MpzT, double) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_init_set_si(MpzT, NativeLong) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_init_set_str(MpzT, String, int) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_init_set_ui(MpzT, NativeUnsignedLong) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_init2(MpzT, MpBitcntT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_inits(MpzT...) - Method in interface it.unich.jgmp.nativelib.LibGmp.LibGmpExtra
 
mpz_inits(MpzT...) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_inp_raw(MpzT, Pointer) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_inp_str(MpzT, Pointer, int) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_invert(MpzT, MpzT, MpzT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_ior(MpzT, MpzT, MpzT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_jacobi(MpzT, MpzT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_kronecker_si(MpzT, NativeLong) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_kronecker_ui(MpzT, NativeUnsignedLong) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_lcm(MpzT, MpzT, MpzT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_lcm_ui(MpzT, MpzT, NativeUnsignedLong) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_legendre(MpzT, MpzT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_lucnum_ui(MpzT, NativeUnsignedLong) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_lucnum2_ui(MpzT, MpzT, NativeUnsignedLong) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_mfac_uiui(MpzT, NativeUnsignedLong, NativeUnsignedLong) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_mod(MpzT, MpzT, MpzT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_mod_ui(MpzT, MpzT, NativeUnsignedLong) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_mul(MpzT, MpzT, MpzT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_mul_2exp(MpzT, MpzT, MpBitcntT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_mul_si(MpzT, MpzT, NativeLong) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_mul_ui(MpzT, MpzT, NativeUnsignedLong) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_neg(MpzT, MpzT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_nextprime(MpzT, MpzT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_odd_p(MpzT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_out_raw(Pointer, MpzT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_out_str(Pointer, int, MpzT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_perfect_power_p(MpzT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_perfect_square_p(MpzT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_popcount(MpzT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_pow_ui(MpzT, MpzT, NativeUnsignedLong) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_powm(MpzT, MpzT, MpzT, MpzT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_powm_sec(MpzT, MpzT, MpzT, MpzT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_powm_ui(MpzT, MpzT, NativeUnsignedLong, MpzT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_primorial_ui(MpzT, NativeUnsignedLong) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_probab_prime_p(MpzT, int) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_random(MpzT, MpSizeT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_random2(MpzT, MpSizeT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_realloc2(MpzT, MpBitcntT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_remove(MpzT, MpzT, MpzT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_root(MpzT, MpzT, NativeUnsignedLong) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_rootrem(MpzT, MpzT, MpzT, NativeUnsignedLong) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_rrandomb(MpzT, GmpRandstateT, MpBitcntT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_scan0(MpzT, MpBitcntT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_scan1(MpzT, MpBitcntT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_set(MpzT, MpzT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_set_d(MpzT, double) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_set_f(MpzT, MpfT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_set_q(MpzT, MpqT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_set_si(MpzT, NativeLong) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_set_str(MpzT, String, int) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_set_ui(MpzT, NativeUnsignedLong) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_setbit(MpzT, MpBitcntT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_sgn(MpzT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_si_kronecker(NativeLong, MpzT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
MPZ_SIZE - Static variable in class it.unich.jgmp.nativelib.MpzT
The size of the mpz_t native type.
mpz_sizeinbase(MpzT, int) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_sqrt(MpzT, MpzT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_sqrtrem(MpzT, MpzT, MpzT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_sub(MpzT, MpzT, MpzT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_sub_ui(MpzT, MpzT, NativeUnsignedLong) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_submul(MpzT, MpzT, MpzT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_submul_ui(MpzT, MpzT, NativeUnsignedLong) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_swap(MpzT, MpzT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_tdiv_q(MpzT, MpzT, MpzT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_tdiv_q_2exp(MpzT, MpzT, NativeUnsignedLong) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_tdiv_q_ui(MpzT, MpzT, NativeUnsignedLong) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_tdiv_qr(MpzT, MpzT, MpzT, MpzT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_tdiv_qr_ui(MpzT, MpzT, MpzT, NativeUnsignedLong) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_tdiv_r(MpzT, MpzT, MpzT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_tdiv_r_2exp(MpzT, MpzT, NativeUnsignedLong) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_tdiv_r_ui(MpzT, MpzT, NativeUnsignedLong) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_tdiv_ui(MpzT, NativeUnsignedLong) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_tstbit(MpzT, MpBitcntT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_ui_kronecker(NativeUnsignedLong, MpzT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_ui_pow_ui(MpzT, NativeUnsignedLong, NativeUnsignedLong) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_ui_sub(MpzT, NativeUnsignedLong, MpzT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_urandomb(MpzT, GmpRandstateT, MpBitcntT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_urandomm(MpzT, GmpRandstateT, MpzT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_xor(MpzT, MpzT, MpzT) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
mpz_zero - Static variable in class it.unich.jgmp.nativelib.LibGmp
The integer 0 (assuming no one changes it)
MPZ.MPZCleaner - Class in it.unich.jgmp
Cleaning action for the MPZ class.
MPZ.PrimalityStatus - Enum in it.unich.jgmp
Result enumeration for the MPZ.isProbabPrime(int) method.
MPZCleaner(MpzT) - Constructor for class it.unich.jgmp.MPZ.MPZCleaner
 
mpzConverter - Variable in class it.unich.jgmp.nativelib.GmpTypeMapper
 
mpzNative - Variable in class it.unich.jgmp.MPZ
The pointer to the native mpz_t object.
mpzPointer - Variable in class it.unich.jgmp.MPZ.MPZCleaner
 
MpzT - Class in it.unich.jgmp.nativelib
Type representing an object of the mpz_t native type.
MpzT() - Constructor for class it.unich.jgmp.nativelib.MpzT
Allocate the memory needed for an mpz_t native type and return the pointer to it.
MpzT(Pointer) - Constructor for class it.unich.jgmp.nativelib.MpzT
Create a new MpzT corresponding to the pointer p.
MPZToNativeConverter() - Constructor for class it.unich.jgmp.nativelib.GmpTypeMapper.MPZToNativeConverter
 
MSG_DIVIDE_BY_ZERO - Static variable in class it.unich.jgmp.GMP
Exception message for division by zero.
MSG_EVEN_MODULUS - Static variable in class it.unich.jgmp.GMP
Error message for even modulus in @code{powmSec} functions.
MSG_EVEN_ROOT_OF_NEGATIVE - Static variable in class it.unich.jgmp.GMP
Exception message for even root of negative number.
MSG_FINITE_DOUBLE_REQUIRED - Static variable in class it.unich.jgmp.GMP
Exception message for a non-finite double.
MSG_INVALID_BASE - Static variable in class it.unich.jgmp.GMP
Error messages for invalid base.
MSG_INVALID_STRING_CONVERSION - Static variable in class it.unich.jgmp.GMP
Error messages for invalid conversion from strings.
MSG_NAN_NOT_ALLOWED - Static variable in class it.unich.jgmp.GMP
Exception message for a NaN double.
MSG_NEGATIVE_EXPONENT - Static variable in class it.unich.jgmp.GMP
Error message for negative exponent in @code{powmSec} functions.
MSG_SAME_OBJECT - Static variable in class it.unich.jgmp.GMP
Error message when arguments this and r cannot be the same object.
MSG_SIZE_TOO_BIG - Static variable in class it.unich.jgmp.GMP
Error message for parameter size too big.
mul(long) - Method in class it.unich.jgmp.MPZ
Return an MPZ whose value is (this * op).
mul(MPF) - Method in class it.unich.jgmp.MPF
Return an MPF whose value is (this * op).
mul(MPQ) - Method in class it.unich.jgmp.MPQ
Return an MPQ whose value is (this * op).
mul(MPZ) - Method in class it.unich.jgmp.MPZ
Return an MPZ whose value is (this * op).
mul2Exp(long) - Method in class it.unich.jgmp.MPF
Return an MPF whose value is (this * 2b).
mul2Exp(long) - Method in class it.unich.jgmp.MPQ
Return an MPQ whose value is (this * 2b).
mul2Exp(long) - Method in class it.unich.jgmp.MPZ
Return an MPZ whose value is (this * 2b).
mul2ExpAssign(long) - Method in class it.unich.jgmp.MPF
Set this MPF to (this * 2b).
mul2ExpAssign(long) - Method in class it.unich.jgmp.MPQ
Set this MPQ to (this * 2b).
mul2ExpAssign(long) - Method in class it.unich.jgmp.MPZ
Set this MPZ to (this * 2b).
mul2ExpAssign(MPF, long) - Method in class it.unich.jgmp.MPF
Set this MPF to (op * 2b).
mul2ExpAssign(MPQ, long) - Method in class it.unich.jgmp.MPQ
Set this MPQ to (op * 2b).
mul2ExpAssign(MPZ, long) - Method in class it.unich.jgmp.MPZ
Set this MPZ to (op * 2b).
mulAssign(long) - Method in class it.unich.jgmp.MPZ
Set this MPZ to (this * op)
mulAssign(MPF) - Method in class it.unich.jgmp.MPF
Set this MPF to (this * op)
mulAssign(MPF, MPF) - Method in class it.unich.jgmp.MPF
Set this MPF to (op1 * op2).
mulAssign(MPQ) - Method in class it.unich.jgmp.MPQ
Set this MPQ to (this * op)
mulAssign(MPQ, MPQ) - Method in class it.unich.jgmp.MPQ
Set this MPQ to (op1 * op2).
mulAssign(MPZ) - Method in class it.unich.jgmp.MPZ
Set this MPZ to (this * op)
mulAssign(MPZ, long) - Method in class it.unich.jgmp.MPZ
Set this MPZ to (op1 * op2).
mulAssign(MPZ, MPZ) - Method in class it.unich.jgmp.MPZ
Set this MPZ to (op1 * op2).
mulUi(long) - Method in class it.unich.jgmp.MPF
Return an MPF whose value is (this * op).
mulUi(long) - Method in class it.unich.jgmp.MPZ
Return an MPZ whose value is (this * op).
mulUiAssign(long) - Method in class it.unich.jgmp.MPF
Set this MPF to (this * op)
mulUiAssign(long) - Method in class it.unich.jgmp.MPZ
Set this MPZ to (this * op)
mulUiAssign(MPF, long) - Method in class it.unich.jgmp.MPF
Set this MPF to (op1 * op2).
mulUiAssign(MPZ, long) - Method in class it.unich.jgmp.MPZ
Set this MPZ to (op1 * op2).

N

Naming conventions: general rules - Search tag in package it.unich.jgmp
Section
Naming conventions: the base name - Search tag in package it.unich.jgmp
Section
nativeType() - Method in class it.unich.jgmp.nativelib.GmpTypeMapper.MPFToNativeConverter
 
nativeType() - Method in class it.unich.jgmp.nativelib.GmpTypeMapper.MPQToNativeConverter
 
nativeType() - Method in class it.unich.jgmp.nativelib.GmpTypeMapper.MPZToNativeConverter
 
NativeUnsignedLong - Class in it.unich.jgmp.nativelib
The native unsigned long data type, which may be a 32 or 64 bit integer.
NativeUnsignedLong() - Constructor for class it.unich.jgmp.nativelib.NativeUnsignedLong
Create a native unsigned long with value 0
NativeUnsignedLong(long) - Constructor for class it.unich.jgmp.nativelib.NativeUnsignedLong
Create a native unsigned long with the specified value.
neg() - Method in class it.unich.jgmp.MPF
Return an MPF whose value is (- this).
neg() - Method in class it.unich.jgmp.MPQ
Return an MPQ whose value is the quotient of (- this).
neg() - Method in class it.unich.jgmp.MPZ
Return an MPZ whose value is the quotient of (- this).
negAssign() - Method in class it.unich.jgmp.MPF
Set this MPF to its opposite.
negAssign() - Method in class it.unich.jgmp.MPQ
Set this MPQ to its opposite.
negAssign() - Method in class it.unich.jgmp.MPZ
Set this MPZ to its opposite.
negAssign(MPF) - Method in class it.unich.jgmp.MPF
Set this MPF to (- op).
negAssign(MPQ) - Method in class it.unich.jgmp.MPQ
Set this MPQ to (- op).
negAssign(MPZ) - Method in class it.unich.jgmp.MPZ
Set this MPZ to (- op).
nextprime() - Method in class it.unich.jgmp.MPZ
Return an MPZ whose value is the next prime greater then this.
nextprimeAssign() - Method in class it.unich.jgmp.MPZ
Set this MPZ to the next prime greater then itself.
nextprimeAssign(MPZ) - Method in class it.unich.jgmp.MPZ
Set this MPZ to the next prime greater then op.
NON_PRIME - Enum constant in enum it.unich.jgmp.MPZ.PrimalityStatus
The tested number is definitely non-prime.

P

popcount() - Method in class it.unich.jgmp.MPZ
If this MPZ is non-negative, return its population count, which is the number of 1 bits in its binary representation.
powm(MPZ, MPZ) - Method in class it.unich.jgmp.MPZ
Return an MPZ whose value is (thisexp) modulo mod.
powmAssign(MPZ, MPZ) - Method in class it.unich.jgmp.MPZ
Set this MPZ to (thisexp) modulo mod.
powmAssign(MPZ, MPZ, MPZ) - Method in class it.unich.jgmp.MPZ
Set this MPZ to (baseexp) modulo mod.
powmSec(MPZ, MPZ) - Method in class it.unich.jgmp.MPZ
Return an MPZ whose value is (thisexp) modulo mod.
powmSecAssign(MPZ, MPZ) - Method in class it.unich.jgmp.MPZ
Set this MPZ to (thisexp) modulo mod.
powmSecAssign(MPZ, MPZ, MPZ) - Method in class it.unich.jgmp.MPZ
Set this MPZ to (baseexp) modulo mod.
powmUi(long, MPZ) - Method in class it.unich.jgmp.MPZ
Return an MPZ whose value is (thisexp) modulo mod.
powmUiAssign(long, MPZ) - Method in class it.unich.jgmp.MPZ
Set this MPZ to (thisexp) modulo mod.
powmUiAssign(MPZ, long, MPZ) - Method in class it.unich.jgmp.MPZ
Set this MPZ to (baseexp) modulo mod.
powUi(long) - Method in class it.unich.jgmp.MPF
Return an MPF whose value is (thisexp).
powUi(long) - Method in class it.unich.jgmp.MPZ
Return an MPZ whose value is (thisexp).
powUi(long, long) - Static method in class it.unich.jgmp.MPZ
Return an MPZ whose value is (baseexp).
powUiAssign(long) - Method in class it.unich.jgmp.MPF
Set this MPF to (thisexp).
powUiAssign(long) - Method in class it.unich.jgmp.MPZ
Set this MPZ to (thisexp).
powUiAssign(long, long) - Method in class it.unich.jgmp.MPZ
Set this MPZ to (baseexp).
powUiAssign(MPF, long) - Method in class it.unich.jgmp.MPF
Set this MPF to (baseexp).
powUiAssign(MPZ, long) - Method in class it.unich.jgmp.MPZ
Set this MPZ to (baseexp).
PrimalityStatus() - Constructor for enum it.unich.jgmp.MPZ.PrimalityStatus
 
PRIME - Enum constant in enum it.unich.jgmp.MPZ.PrimalityStatus
The tested number is definitely prime.
primorialUi(long) - Static method in class it.unich.jgmp.MPZ
Return an MPZ whose value is the primorial of n, i.e., the product of all positive prime numbers <= n.
primorialUiAssign(long) - Method in class it.unich.jgmp.MPZ
Set this MPZ to the primorial of n, i.e., the product of all positive prime numbers <= n.
printf(String, Object...) - Static method in class it.unich.jgmp.GMP
Print to the standard output according to the format specification in fmt and the additional arguments in args.
PROBABLY_PRIME - Enum constant in enum it.unich.jgmp.MPZ.PrimalityStatus
The tested number is probably prime.
properties - Static variable in class it.unich.jgmp.GMP
Java Properties used by JGMP.

R

randinitDefault() - Static method in class it.unich.jgmp.RandState
Returns the default random state.
randinitLc2Exp(MPZ, long, long) - Static method in class it.unich.jgmp.RandState
Returns a random state for a linear congruential algorithm.
randinitLc2ExpSize(long) - Static method in class it.unich.jgmp.RandState
Returns a random state for a linear congruential algorithm.
randinitMt() - Static method in class it.unich.jgmp.RandState
Returns a random state for a Mersenne Twister algorithm.
randinitSet(RandState) - Method in class it.unich.jgmp.RandState
Returns a random state which is a copy of op.
random(long) - Static method in class it.unich.jgmp.MPZ
Deprecated.
use MPZ.urandomb(it.unich.jgmp.RandState,long) or MPZ.urandomm(it.unich.jgmp.RandState,it.unich.jgmp.MPZ) instead, since this method uses a global random state and it is not reentrant.
random2(long) - Static method in class it.unich.jgmp.MPZ
Deprecated.
use MPZ.rrandomb(it.unich.jgmp.RandState,long) instead, since this method uses a global random state and it is not reentrant.
random2(long, long) - Static method in class it.unich.jgmp.MPF
Return an MPF whose value is a random integer of at most maxSize limbs, with long strings of zeros and ones in the binary representation.
random2Assign(long) - Method in class it.unich.jgmp.MPZ
Deprecated.
use MPZ.rrandombAssign(it.unich.jgmp.RandState,long) instead, since this method uses a global random state and it is not reentrant.
random2Assign(long, long) - Method in class it.unich.jgmp.MPF
Set this MPF to a random integer of at most maxSize limbs, with long strings of zeros and ones in the binary representation.
randomAssign(long) - Method in class it.unich.jgmp.MPZ
Deprecated.
use MPZ.urandombAssign(it.unich.jgmp.RandState,long) or MPZ.urandommAssign(it.unich.jgmp.RandState,it.unich.jgmp.MPZ) instead, since this method uses a global random state and it is not reentrant.
RandomStateCleaner(GmpRandstateT) - Constructor for class it.unich.jgmp.RandState.RandomStateCleaner
 
randseed(MPZ) - Method in class it.unich.jgmp.RandState
Sets an initial seed value into this.
randseedUi(long) - Method in class it.unich.jgmp.RandState
Sets an initial seed value into this.
RandState - Class in it.unich.jgmp
Current state of a random number generator.
RandState() - Constructor for class it.unich.jgmp.RandState
Builds the default random state.
RandState(GmpRandstateT) - Constructor for class it.unich.jgmp.RandState
A private constructor which build a RandState starting from a pointer to its native data object.
RandState(RandState) - Constructor for class it.unich.jgmp.RandState
Builds a copy of the specified random state.
RANDSTATE_SIZE - Static variable in class it.unich.jgmp.nativelib.GmpRandstateT
The size of the gmp_randstate_t structure.
RandState.RandomStateCleaner - Class in it.unich.jgmp
Cleaning action for the RandState class.
randstateNative - Variable in class it.unich.jgmp.RandState
The pointer to the native gmp_randstate_t object.
randstatePointer - Variable in class it.unich.jgmp.RandState.RandomStateCleaner
 
readObject(ObjectInputStream) - Method in class it.unich.jgmp.MPF
 
readObject(ObjectInputStream) - Method in class it.unich.jgmp.MPQ
 
readObject(ObjectInputStream) - Method in class it.unich.jgmp.MPZ
 
readObjectNoData() - Method in class it.unich.jgmp.MPF
 
readObjectNoData() - Method in class it.unich.jgmp.MPQ
 
readObjectNoData() - Method in class it.unich.jgmp.MPZ
 
realloc2(long) - Method in class it.unich.jgmp.MPZ
Changes the space allocated for this number to n bits.
ReallocFunc - Interface in it.unich.jgmp.nativelib
Custom reallocator function callback.
ReallocFuncByReference - Class in it.unich.jgmp.nativelib
A structure containing an ReallocFunc callback.
ReallocFuncByReference() - Constructor for class it.unich.jgmp.nativelib.ReallocFuncByReference
Create an instance of this structure.
reldiff(MPF) - Method in class it.unich.jgmp.MPF
Return the relative difference between this and this, i.e., (abs(this-op)/this).
reldiffAssign(MPF) - Method in class it.unich.jgmp.MPF
Set this MPF to the relative difference between this and op, i.e., (abs(this-op)/this).
reldiffAssign(MPF, MPF) - Method in class it.unich.jgmp.MPF
Set this MPF to the relative difference between op1 and op2, i.e., (abs(op1-op2)/op1).
remove(MPZ) - Method in class it.unich.jgmp.MPZ
Return the result of removing the factorf from this, together with the number of occurrences which were removed.
removeAssign(MPZ) - Method in class it.unich.jgmp.MPZ
Remove all occurrences of the factor f from this MPZ.
removeAssign(MPZ, MPZ) - Method in class it.unich.jgmp.MPZ
Remove all occurrences of the factor f from op and stores the result in this MPZ.
rf - Static variable in class it.unich.jgmp.AllocationMonitor
 
rfp - Variable in class it.unich.jgmp.AllocationMonitor.JGMPRealloc
 
rfpOld - Static variable in class it.unich.jgmp.AllocationMonitor
 
root(long) - Method in class it.unich.jgmp.MPZ
Return an MPZ whose value is the truncated integer part of the nth root of this, and a boolean flag which is true when the result is exact.
rootAssign(long) - Method in class it.unich.jgmp.MPZ
Set this MPZ to the truncated integer part of its nth root.
rootAssign(MPZ, long) - Method in class it.unich.jgmp.MPZ
Set this MPZ to the truncated integer part of the nth root of op.
rootrem(long) - Method in class it.unich.jgmp.MPZ
Return two MPZs whose values are the truncated integer part of the nth root of this and the remainder, i.e., (u - rootn).
rootremAssign(MPZ, long) - Method in class it.unich.jgmp.MPZ
Set this MPZ to the truncated integer part of the its nth root and rem to the remainder, i.e., (this - rootn).
rootremAssign(MPZ, MPZ, long) - Method in class it.unich.jgmp.MPZ
Set this MPZ to the truncated integer part of the nth root of u and rem to the remainder, i.e., (u - rootn).
rrandomb(RandState, long) - Static method in class it.unich.jgmp.MPZ
Return an MPZ whose value is a random integer with long strings of zeros and ones in the binary representation.
rrandombAssign(RandState, long) - Method in class it.unich.jgmp.MPZ
Set this MPZ to a random integer with long strings of zeros and ones in the binary representation.
run() - Method in class it.unich.jgmp.MPF.MPFCleaner
 
run() - Method in class it.unich.jgmp.MPQ.MPQCleaner
 
run() - Method in class it.unich.jgmp.MPZ.MPZCleaner
 
run() - Method in class it.unich.jgmp.RandState.RandomStateCleaner
 

S

scan0(long) - Method in class it.unich.jgmp.MPZ
Scan this MPZ, starting from bit starting_bit, towards more significant bits, until the first 0 bit is found.
scan1(long) - Method in class it.unich.jgmp.MPZ
Scan this, starting from bit starting_bit, towards more significant bits, until the first 1 bit is found.
scanf(String, Object...) - Static method in class it.unich.jgmp.GMP
Parse the standard input according to the format specification in fmt, filling the variables in args.
serialVersionUID - Static variable in class it.unich.jgmp.MPF
Version for serializability.
serialVersionUID - Static variable in class it.unich.jgmp.MPQ
Version for serializability.
serialVersionUID - Static variable in class it.unich.jgmp.MPZ
Version for serializability.
set(double) - Method in class it.unich.jgmp.MPF
Set this MPF to op, possibly truncated according to precision.
set(double) - Method in class it.unich.jgmp.MPQ
Set this MPQ to op.
set(double) - Method in class it.unich.jgmp.MPZ
Set this MPZ to the truncation of op.
set(long) - Method in class it.unich.jgmp.MPF
Set this MPF to op, possibly truncated according to precision.
set(long) - Method in class it.unich.jgmp.MPZ
Set this MPZ to op.
set(long, long) - Method in class it.unich.jgmp.MPQ
Set this MPQ to (<num/>den).
set(MPF) - Method in class it.unich.jgmp.MPF
Set this MPF to op, possibly truncated according to precision.
set(MPF) - Method in class it.unich.jgmp.MPQ
Set this MPQ to op.
set(MPF) - Method in class it.unich.jgmp.MPZ
Set this MPZ to the truncation of op.
set(MPQ) - Method in class it.unich.jgmp.MPF
Set this MPF to op, possibly truncated according to precision.
set(MPQ) - Method in class it.unich.jgmp.MPQ
Set this MPQ to op.
set(MPQ) - Method in class it.unich.jgmp.MPZ
Set this MPZ to the truncation of op.
set(MPZ) - Method in class it.unich.jgmp.MPF
Set this MPF to op, possibly truncated according to precision.
set(MPZ) - Method in class it.unich.jgmp.MPQ
Set this MPQ to op.
set(MPZ) - Method in class it.unich.jgmp.MPZ
Set this MPZ to op.
set(MpzT, BigInteger) - Static method in class it.unich.jgmp.MPZ
 
set(String, int) - Method in class it.unich.jgmp.MPF
Set this MPF to the number represented by the string str in the specified base, possibly truncated according to precision.
set(String, int) - Method in class it.unich.jgmp.MPQ
Set this MPQ to the number represented by the string str in the specified base.
set(String, int) - Method in class it.unich.jgmp.MPZ
Set this MPZ to the number represented by the string str in the specified base.
set(BigDecimal) - Method in class it.unich.jgmp.MPF
Set this MPF to the big decimal op.
set(BigInteger) - Method in class it.unich.jgmp.MPZ
Sets this MPZ to op.
setAllocationThreshold(long) - Static method in class it.unich.jgmp.AllocationMonitor
Set the current allocation threshold.
setbit(long) - Method in class it.unich.jgmp.MPZ
Return an MPZ whose value is (this | 2index).
setbitAssign(long) - Method in class it.unich.jgmp.MPZ
Set the bit index of this MPZ.
setDebugLevel(int) - Static method in class it.unich.jgmp.AllocationMonitor
Set the debug level of the allocation monitor.
setDefaultPrec(long) - Static method in class it.unich.jgmp.MPF
Set the default precision to be at least prec bits.
setDen(MPZ) - Method in class it.unich.jgmp.MPQ
Set the denominator of this to the value den.
setLowerThreshold(long) - Static method in class it.unich.jgmp.AllocationMonitor
Set the current value of the lower threshold.
setNum(MPZ) - Method in class it.unich.jgmp.MPQ
Set the numerator of this to the value num.
setPrec(long) - Method in class it.unich.jgmp.MPF
Set the precision of this MPF to be at least prec bits.
setTimeout(int) - Static method in class it.unich.jgmp.AllocationMonitor
Set the maximum timeout value.
setUi(long) - Method in class it.unich.jgmp.MPF
Set this MPF to op, possibly truncated according to precision.
setUi(long) - Method in class it.unich.jgmp.MPZ
Set this MPZ to op.
setUi(long, long) - Method in class it.unich.jgmp.MPQ
Set this MPQ to (num/den).
setValue(double) - Method in class it.unich.jgmp.MPF
Set this MPF to op, possibly truncated according to precision.
setValue(double) - Method in class it.unich.jgmp.MPQ
Set this MPQ to op op.
setValue(double) - Method in class it.unich.jgmp.MPZ
Set this MPZ to the truncation op op.
setValue(long) - Method in class it.unich.jgmp.MPF
Set this MPF to op, possibly truncated according to precision.
setValue(long) - Method in class it.unich.jgmp.MPQ
Set this MPQ to op.
setValue(long) - Method in class it.unich.jgmp.MPZ
Set this MPZ to signed long op.
setValue(MPF) - Method in class it.unich.jgmp.MPF
Set this MPF to op, possibly truncated according to precision.
setValue(MPF) - Method in class it.unich.jgmp.MPQ
Set this MPQ to op.
setValue(MPF) - Method in class it.unich.jgmp.MPZ
Set this MPZ to the truncation op op.
setValue(MPQ) - Method in class it.unich.jgmp.MPF
Set this MPF to op, possibly truncated according to precision.
setValue(MPQ) - Method in class it.unich.jgmp.MPQ
Set this MPQ to op.
setValue(MPQ) - Method in class it.unich.jgmp.MPZ
Set this MPZ to the truncation op op.
setValue(MPZ) - Method in class it.unich.jgmp.MPF
Set this MPF to op, possibly truncated according to precision.
setValue(MPZ) - Method in class it.unich.jgmp.MPZ
Set this MPZ to op.
setValue(MpExpT) - Method in class it.unich.jgmp.nativelib.MpExpTByReference
Change the value of the mp_exp_t object pointed by this reference.
setValue(SizeT) - Method in class it.unich.jgmp.nativelib.SizeTByReference
Change the value of the size_t object pointed by this reference.
setValue(String) - Method in class it.unich.jgmp.MPF
Set this MPF to the value represented by the string str in decimal base, possibly truncated according to precision.
setValue(String) - Method in class it.unich.jgmp.MPQ
Set this MPQ to the value represented by the string str in decimal base.
setValue(String) - Method in class it.unich.jgmp.MPZ
Set this MPZ to the value represented by the string str in decimal base.
setValue(String, int) - Method in class it.unich.jgmp.MPF
Set this MPF to the number represented by the string str in the specified base, possibly truncated according to precision.
setValue(String, int) - Method in class it.unich.jgmp.MPQ
Set this MPQ to the number represented by the string str in the specified base.
setValue(String, int) - Method in class it.unich.jgmp.MPZ
Set this MPZ to the number represented by the string str in the specified base.
setValue(BigDecimal) - Method in class it.unich.jgmp.MPF
Set this MPF to the big decimal op.
setValue(BigInteger) - Method in class it.unich.jgmp.MPZ
Sets this MPZ to op.
sgn() - Method in class it.unich.jgmp.MPF
Return +1 if (this > 0), 0 if (this = 0) and -1 if (this < 0).
sgn() - Method in class it.unich.jgmp.MPQ
Return +1 if (this > 0), 0 if (this = 0) and -1 if (this < 0).
sgn() - Method in class it.unich.jgmp.MPZ
Return +1 if (this > 0), 0 if (this = 0) and -1 if this < 0.
Side-effect free methods - Search tag in package it.unich.jgmp
Section
SIZE - Static variable in class it.unich.jgmp.nativelib.MpBitcntT
The size of the native mp_bitcnt_t data type.
SIZE - Static variable in class it.unich.jgmp.nativelib.MpExpT
The size of the native mp_exp_t data type.
SIZE - Static variable in class it.unich.jgmp.nativelib.MpSizeT
The size of the native mp_size_t data type.
sizeinbase(int) - Method in class it.unich.jgmp.MPZ
Return the size of this MPZ measured in number of digits in the specified base.
SizeT - Class in it.unich.jgmp.nativelib
The native size_t data type, which may be a 32 or 64 bit unsigned integer.
SizeT() - Constructor for class it.unich.jgmp.nativelib.SizeT
Create a size_t with value 0
SizeT(long) - Constructor for class it.unich.jgmp.nativelib.SizeT
Create a size_t with the specified value.
SizeTByReference - Class in it.unich.jgmp.nativelib
A reference to the native size_t data type.
SizeTByReference() - Constructor for class it.unich.jgmp.nativelib.SizeTByReference
Create a reference to a newly allocated size_t object.
SizeTByReference(SizeT) - Constructor for class it.unich.jgmp.nativelib.SizeTByReference
Create a reference to a newly allocated size_t object, which is initialized with value.
sprintf(String, Object...) - Static method in class it.unich.jgmp.GMP
Return a string according to the format specification in fmt and the additional arguments in args.
sqrt() - Method in class it.unich.jgmp.MPF
Return an MPF whose value is the square root of this.
sqrt() - Method in class it.unich.jgmp.MPZ
Return an MPZ whose value is the truncated integer part of the square root of this.
sqrtAssign() - Method in class it.unich.jgmp.MPF
Set this MPF to its square root.
sqrtAssign() - Method in class it.unich.jgmp.MPZ
Set this MPZ to the truncated integer part of its square root.
sqrtAssign(MPF) - Method in class it.unich.jgmp.MPF
Set this MPF to the the square root of op.
sqrtAssign(MPZ) - Method in class it.unich.jgmp.MPZ
Set this MPZ to the truncated integer part of the square root of op.
sqrtrem() - Method in class it.unich.jgmp.MPZ
Return two MPZs whose values are the truncated integer part of the square root of this and the remainder, i.e., (op - root2).
sqrtremAssign(MPZ) - Method in class it.unich.jgmp.MPZ
Set this MPZ to the truncated integer part of its square root and rem to the remainder, i.e., (this - root2).
sqrtremAssign(MPZ, MPZ) - Method in class it.unich.jgmp.MPZ
Set this MPZ to the truncated integer part of the square root of op and rem to the remainder, i.e., (op - root2).
sqrtUi(long) - Static method in class it.unich.jgmp.MPF
Return an MPF whose value is the square root of this.
sqrtUiAssign(long) - Method in class it.unich.jgmp.MPF
Set this MPF to the the square root of op.
sscanf(String, String, Object...) - Static method in class it.unich.jgmp.GMP
Parse the string s according to the format specification in fmt, filling the variables in args.
stepTimeout - Static variable in class it.unich.jgmp.AllocationMonitor
The current delay for a single timeout step.
sub(MPF) - Method in class it.unich.jgmp.MPF
Return an MPF whose value is (this - op).
sub(MPQ) - Method in class it.unich.jgmp.MPQ
Return an MPQ whose value is (this - op).
sub(MPZ) - Method in class it.unich.jgmp.MPZ
Return an MPZ whose value is (this - op).
subAssign(MPF) - Method in class it.unich.jgmp.MPF
Set this MPF to (this - op)
subAssign(MPF, MPF) - Method in class it.unich.jgmp.MPF
Set this MPF to (op1 - op2).
subAssign(MPQ) - Method in class it.unich.jgmp.MPQ
Set this MPQ to (this - op)
subAssign(MPQ, MPQ) - Method in class it.unich.jgmp.MPQ
Set this MPQ to (op1 - op2).
subAssign(MPZ) - Method in class it.unich.jgmp.MPZ
Set this MPZ to (this - op)
subAssign(MPZ, MPZ) - Method in class it.unich.jgmp.MPZ
Set this MPZ to (op1 - op2).
submul(MPZ, MPZ) - Method in class it.unich.jgmp.MPZ
Return an MPZ whose value is (this - op1 * op2).
submulAssign(MPZ, MPZ) - Method in class it.unich.jgmp.MPZ
Subtract (op1 * op2) to this MPZ.
submulUi(MPZ, long) - Method in class it.unich.jgmp.MPZ
Return an MPZ whose value is (this - op1 * op2).
submulUiAssign(MPZ, long) - Method in class it.unich.jgmp.MPZ
Subtract (op1 * op2) to this MPZ.
subUi(long) - Method in class it.unich.jgmp.MPF
Return an MPF whose value is (this - op).
subUi(long) - Method in class it.unich.jgmp.MPZ
Return an MPZ whose value is (this - op).
subUiAssign(long) - Method in class it.unich.jgmp.MPF
Set this MPF to (this - op)
subUiAssign(long) - Method in class it.unich.jgmp.MPZ
Set this MPZ to (this - op)
subUiAssign(MPF, long) - Method in class it.unich.jgmp.MPF
Set this MPF to (op1 - op2).
subUiAssign(MPZ, long) - Method in class it.unich.jgmp.MPZ
Set this MPZ to (op1 - op2).
swap(MPF) - Method in class it.unich.jgmp.MPF
Swap the value of this MPF with the value of op.
swap(MPQ) - Method in class it.unich.jgmp.MPQ
Swap the value of this MPQ with the value of op.
swap(MPZ) - Method in class it.unich.jgmp.MPZ
Swap the value of this MPZ with the value of op.

T

tdivq(MPZ) - Method in class it.unich.jgmp.MPZ
Return an MPZ whose value is the quotient of the integer division (this / d), rounded towards zero.
tdivq2Exp(long) - Method in class it.unich.jgmp.MPZ
Return an MPZ whose value is the quotient of the integer division (this / 2b), rounded towards zero.
tdivq2ExpAssign(long) - Method in class it.unich.jgmp.MPZ
Set this MPZ to the quotient of the integer division (this / 2b), rounded toward zero.
tdivq2ExpAssign(MPZ, long) - Method in class it.unich.jgmp.MPZ
Set this MPZ to the quotient of the integer division (n / 2b), rounded toward zero.
tdivqAssign(MPZ) - Method in class it.unich.jgmp.MPZ
Set this MPZ to the quotient of the integer division (this / d), rounded towards zero.
tdivqAssign(MPZ, MPZ) - Method in class it.unich.jgmp.MPZ
Set this MPZ to the quotient of the integer division (n / d), rounded towards zero.
tdivqr(MPZ) - Method in class it.unich.jgmp.MPZ
Return two MPZs whose values are the quotient and remainder of the integer division (this / d), rounded towards zero.
tdivqrAssign(MPZ, MPZ) - Method in class it.unich.jgmp.MPZ
Set this MPZ and r to the quotient and remainder of the integer division (this / d), rounded towards zero.
tdivqrAssign(MPZ, MPZ, MPZ) - Method in class it.unich.jgmp.MPZ
Set this MPZ and r to the quotient and remainder of the integer division (n / d), rounded towards zero.
tdivqrUiAssign(MPZ, long) - Method in class it.unich.jgmp.MPZ
Set this MPZ and r to the quotient and remainder of the integer division (this / d), rounded towards zero; it also returns the absolute value of the remainder.
tdivqrUiAssign(MPZ, MPZ, long) - Method in class it.unich.jgmp.MPZ
Set this MPZ and r to the quotient and remainder of the integer division (n / d), rounded towards zero; it also returns the absolute value of the remainder.
tdivqUiAssign(long) - Method in class it.unich.jgmp.MPZ
Set this MPZ to the quotient of the integer division (this / d), rounded towards zero; it also returns the absolute value of the remainder.
tdivqUiAssign(MPZ, long) - Method in class it.unich.jgmp.MPZ
Set this MPZ to the quotient of the integer division (n / d), rounded towards zero; it also returns the absolute value of the remainder.
tdivr(MPZ) - Method in class it.unich.jgmp.MPZ
Return an MPZ whose value is the remainder of the integer division (this / d), rounded towards zero.
tdivr2Exp(long) - Method in class it.unich.jgmp.MPZ
Return an MPZ whose value is the remainder of the integer division (this / 2b), rounded towards zero.
tdivr2ExpAssign(long) - Method in class it.unich.jgmp.MPZ
Set this MPZ to the remainder of the integer division (this / 2b), rounded toward zero.
tdivr2ExpAssign(MPZ, long) - Method in class it.unich.jgmp.MPZ
Set this MPZ to the remainder of the integer division (n / 2b), rounded toward zero.
tdivrAssign(MPZ) - Method in class it.unich.jgmp.MPZ
Set this MPZ to the remainder of the integer division (this / d), rounded towards zero.
tdivrAssign(MPZ, MPZ) - Method in class it.unich.jgmp.MPZ
Set this MPZ to the remainder of the integer division (n / d), rounded towards zero.
tdivrUiAssign(long) - Method in class it.unich.jgmp.MPZ
Set this MPZ to the remainder of the integer division (this / d), rounded towards zero; it also returns the absolute value of the remainder.
tdivrUiAssign(MPZ, long) - Method in class it.unich.jgmp.MPZ
Set this MPZ to the remainder of the integer division (n / d), rounded towards zero; it also returns the absolute value of the remainder.
tdivUi(long) - Method in class it.unich.jgmp.MPZ
Return the remainder of the integer division (this / d), rounded towards zero.
TIMEOUT_STEPS - Static variable in class it.unich.jgmp.AllocationMonitor
Number of steps in which we divide the timeout interval.
toNative(Object, ToNativeContext) - Method in class it.unich.jgmp.nativelib.GmpTypeMapper.MPFToNativeConverter
 
toNative(Object, ToNativeContext) - Method in class it.unich.jgmp.nativelib.GmpTypeMapper.MPQToNativeConverter
 
toNative(Object, ToNativeContext) - Method in class it.unich.jgmp.nativelib.GmpTypeMapper.MPZToNativeConverter
 
toString() - Method in class it.unich.jgmp.MPF
Convert this MPF to its decimal string representation.
toString() - Method in class it.unich.jgmp.MPQ
Convert this MPQ to its decimal string representation.
toString() - Method in class it.unich.jgmp.MPZ
Convert this MPZ to its decimal string representation.
toString(int) - Method in class it.unich.jgmp.MPF
Convert this MPF to its string representation in the specified base, or null if the base is not valid.
toString(int) - Method in class it.unich.jgmp.MPQ
Convert this MPQ to its string representation in the specified base, or null if the base is not valid.
toString(int) - Method in class it.unich.jgmp.MPZ
Convert this MPZ to its string representation in the specified base, or null if the base is not valid.
toString(int, long) - Method in class it.unich.jgmp.MPF
Convert this MPF to its string representation in the specified base, or null if the base is not valid.
trunc() - Method in class it.unich.jgmp.MPF
Return an MPF whose value is this rounded towards zero.
truncAssign() - Method in class it.unich.jgmp.MPF
Set this MPF to its value rounded towards zero.
truncAssign(MPF) - Method in class it.unich.jgmp.MPF
Set this MPF to the value of op rounded towards zero.
tstbit(long) - Method in class it.unich.jgmp.MPZ
Return the bit index of this MPZ.
Type mapping - Search tag in package it.unich.jgmp
Section

U

uiDiv(long) - Method in class it.unich.jgmp.MPF
Return an MPF whose value is (op / this).
uiDivAssign(long) - Method in class it.unich.jgmp.MPF
Set this MPF to (op / this)
uiDivAssign(long, MPF) - Method in class it.unich.jgmp.MPF
Set this MPF to (op1 / op2).
uiKronecker(long) - Method in class it.unich.jgmp.MPZ
Return the Jacobi symbol (a / this) with the Kronecker extension.
uiSub(long) - Method in class it.unich.jgmp.MPF
Return an MPF whose value is (op - this).
uiSub(long) - Method in class it.unich.jgmp.MPZ
Return an MPZ whose value is (op - this).
uiSubAssign(long) - Method in class it.unich.jgmp.MPF
Set this MPF to (op - this)
uiSubAssign(long) - Method in class it.unich.jgmp.MPZ
Set this MPZ to (op - this)
uiSubAssign(long, MPF) - Method in class it.unich.jgmp.MPF
Set this MPF to (op1 - op2).
uiSubAssign(long, MPZ) - Method in class it.unich.jgmp.MPZ
Set this MPZ to (op1 - op2).
urandomb(RandState, long) - Static method in class it.unich.jgmp.MPF
Return an MPF whose value is an uniformly distributed random float in the range from 0 included to 1 excluded.
urandomb(RandState, long) - Static method in class it.unich.jgmp.MPZ
Return an MPZ whose value is an uniformly distributed random integer in the range 0} to (2n - 1), inclusive.
urandombAssign(RandState, long) - Method in class it.unich.jgmp.MPF
Set this MPF to a uniformly distributed random float in the range from 0 included to 1 excluded.
urandombAssign(RandState, long) - Method in class it.unich.jgmp.MPZ
Set this MPZ to a uniformly distributed random integer in the range 0 to (2n - 1), inclusive.
urandombUi(long) - Method in class it.unich.jgmp.RandState
Returns a uniformly distributed random number of n bits, in the range 0 to (2n-1) inclusive.
urandomm(RandState, MPZ) - Static method in class it.unich.jgmp.MPZ
Return an MPZ whose value is an uniformly distributed random integer in the range 0 to (n - 1), inclusive.
urandommAssign(RandState, MPZ) - Method in class it.unich.jgmp.MPZ
Set this MPZ to a uniformly distributed random integer in the range 0 to (n - 1), inclusive.
urandommUi(long) - Method in class it.unich.jgmp.RandState
Returns a uniformly distributed random number in the range 0 to (n - 1) inclusive.

V

value - Variable in class it.unich.jgmp.nativelib.AllocFuncByReference
The callback which is the only element of this structure.
value - Variable in class it.unich.jgmp.nativelib.FreeFuncByReference
The callback which is the only element of this structure.
value - Variable in class it.unich.jgmp.nativelib.ReallocFuncByReference
The callback which is the only element of this structure.
valueOf(String) - Static method in enum it.unich.jgmp.MPZ.PrimalityStatus
Returns the enum constant of this type with the specified name.
values() - Static method in enum it.unich.jgmp.MPZ.PrimalityStatus
Returns an array containing the constants of this enum type, in the order they are declared.

W

writeObject(ObjectOutputStream) - Method in class it.unich.jgmp.MPF
 
writeObject(ObjectOutputStream) - Method in class it.unich.jgmp.MPQ
 
writeObject(ObjectOutputStream) - Method in class it.unich.jgmp.MPZ
 

X

xor(MPZ) - Method in class it.unich.jgmp.MPZ
Return an MPZ whose value is (this ^ op).
xorAssign(MPZ) - Method in class it.unich.jgmp.MPZ
Set this MPZ to (this ^ op).
xorAssign(MPZ, MPZ) - Method in class it.unich.jgmp.MPZ
Set this MPZ to (op1 ^ op2).

_

__gmp_randclear(Pointer) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
__gmp_set_memory_functions(AllocFunc, ReallocFunc, FreeFunc) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
__gmpf_clear(Pointer) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
__gmpq_clear(Pointer) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
__gmpz_clear(Pointer) - Static method in class it.unich.jgmp.nativelib.LibGmp
 
__GNU_MP_VERSION - Static variable in class it.unich.jgmp.nativelib.LibGmp
The major GMP version.
__GNU_MP_VERSION_MINOR - Static variable in class it.unich.jgmp.nativelib.LibGmp
The minor GMP version.
__GNU_MP_VERSION_PATCHLEVEL - Static variable in class it.unich.jgmp.nativelib.LibGmp
The patch level GMP version.
A B C D E F G H I J K L M N P R S T U V W X _ 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form