Index
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 ofthis
. - abs() - Method in class it.unich.jgmp.MPQ
-
Return an
MPQ
whose value is the absolute value ofthis
. - abs() - Method in class it.unich.jgmp.MPZ
-
Return an
MPZ
whose value is the absolute value ofthis
. - 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 ofop
. - absAssign(MPQ) - Method in class it.unich.jgmp.MPQ
-
Set this
MPQ
to the absolute value ofop
. - absAssign(MPZ) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZ
to the absolute value ofop
. - 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 thisMPZ
. - 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 thisMPZ
. - 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 coefficientthis
overk
. - binUiAssign(long) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZ
to the binomial coefficientthis
overk
. - binUiAssign(MPZ, long) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZ
to the binomial coefficientn
overk
. - binUiUi(long, long) - Static method in class it.unich.jgmp.MPZ
-
Return an
MPZ
whose value is the binomial coefficientn
overk
. - binUiUiAssign(long, long) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZ
to the binomial coefficientn
overk
. - bufferExport(int, int, int, long) - Method in class it.unich.jgmp.MPZ
-
Return a
ByteBuffer
filled with word data from thisMPZ
. - 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 atop
. - bufferImportAssign(int, int, int, long, ByteBuffer) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZ
from the buffer of word data atop
.
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
MPZ
s 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
andr
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
andr
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
andr
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
andr
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 isthis
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 ofop
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 thisMPZ
. - cmp(double) - Method in class it.unich.jgmp.MPF
-
Compare
this
withop
. - cmp(double) - Method in class it.unich.jgmp.MPZ
-
Compare
this
withop
. - cmp(long) - Method in class it.unich.jgmp.MPF
-
Compare
this
withop
. - cmp(long) - Method in class it.unich.jgmp.MPZ
-
Compare
this
withop
. - 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
withop
. - cmp(MPQ) - Method in class it.unich.jgmp.MPQ
-
Compare
this
withop
. - cmp(MPZ) - Method in class it.unich.jgmp.MPF
-
Compare
this
withop
. - cmp(MPZ) - Method in class it.unich.jgmp.MPQ
-
Compare
this
withop
. - cmp(MPZ) - Method in class it.unich.jgmp.MPZ
-
Compare
this
withop
. - cmpabs(double) - Method in class it.unich.jgmp.MPZ
-
Compare the absolute values of
this
andop
. - cmpabs(MPZ) - Method in class it.unich.jgmp.MPZ
-
Compare the absolute values of
this
andop
. - cmpabsUi(long) - Method in class it.unich.jgmp.MPZ
-
Compare the absolute values of
this
andop
. - cmpUi(long) - Method in class it.unich.jgmp.MPF
-
Compare
this
withop
. - cmpUi(long) - Method in class it.unich.jgmp.MPZ
-
Compare
this
withop
. - 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 thisMPZ
. - compareTo(MPF) - Method in class it.unich.jgmp.MPF
-
Compare this
MPF
withop
. - compareTo(MPQ) - Method in class it.unich.jgmp.MPQ
-
Compare this
MPQ
withop
. - compareTo(MPZ) - Method in class it.unich.jgmp.MPZ
-
Compare this
MPZ
withop
.
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 ofn
. - dfacUiAssign(long) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZ
to the double factorial ofn
. - 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 toop
, false otherwise. - equals(Object) - Method in class it.unich.jgmp.MPF
-
Compare this
MPF
with the objectop
for equality. - equals(Object) - Method in class it.unich.jgmp.MPQ
-
Compare this
MPQ
with the objectop
for equality. - equals(Object) - Method in class it.unich.jgmp.MPZ
-
Compare this
MPZ
with the objectop
for equality.
F
- facUi(long) - Static method in class it.unich.jgmp.MPZ
-
Return an
MPZ
whose value is the factorial ofn
. - facUiAssign(long) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZ
to the factorial ofn
. - 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
MPZ
s 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
andr
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
andr
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
andr
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
andr
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 then
-th and(n-1)
-th Fibonacci numbers. - fib2UiAssign(MPZ, long) - Method in class it.unich.jgmp.MPZ
-
Set the value of
this
andfnsub1
to then
-th and(n-1)
-th Fibonacci numbers respecively. - fibUi(long) - Static method in class it.unich.jgmp.MPZ
-
Return an
MPZ
whose value is then
-th Fibonacci number. - fibUiAssign(long) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZ
to then
-th Fibonacci number. - fitsSint() - Method in class it.unich.jgmp.MPF
-
Return
true
if and only if thisMPF
fits into a native signed int. - fitsSint() - Method in class it.unich.jgmp.MPZ
-
Return
true
if and only if thisMPZ
fits into a native signed int. - fitsSlong() - Method in class it.unich.jgmp.MPF
-
Return
true
if and only if thisMPF
fits into a native signed long. - fitsSlong() - Method in class it.unich.jgmp.MPZ
-
Return
true
if and only if thisMPZ
fits into a native signed long. - fitsSshort() - Method in class it.unich.jgmp.MPF
-
Return
true
if and only if thisMPF
fits into a native signed short. - fitsSshort() - Method in class it.unich.jgmp.MPZ
-
Return
true
if and only if thisMPZ
fits into a native signed short. - fitsUint() - Method in class it.unich.jgmp.MPF
-
Return
true
if and only if thisMPF
fits into a native unsigned int. - fitsUint() - Method in class it.unich.jgmp.MPZ
-
Return
true
if and only if thisMPZ
fits into a native unsigned int. - fitsUlong() - Method in class it.unich.jgmp.MPF
-
Return
true
if and only if thisMPF
fits into a native unsigned long. - fitsUlong() - Method in class it.unich.jgmp.MPZ
-
Return
true
if and only if thisMPZ
fits into a native unsigned long. - fitsUshort() - Method in class it.unich.jgmp.MPF
-
Return
true
if and only if thisMPF
fits into a native unsigned short. - fitsUshort() - Method in class it.unich.jgmp.MPZ
-
Return
true
if and only if thisMPZ
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 isthis
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 ofop
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 ofthis
andop
. - gcdAssign(MPZ) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZ
to the greatest commond divisor ofthis
andop
. - gcdAssign(MPZ, MPZ) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZ
to the greatest commond divisor ofop1
andop2
. - gcdext(MPZ) - Method in class it.unich.jgmp.MPZ
-
Return the greatest common divisor of
this
andop
, together with numberss
andt
satisfying(a*this + b*op = g)
See the GMP functionmpz_gcdext
. - gcdextAssign(MPZ, MPZ, MPZ) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZ
to the greatest common divisor ofthis
andop
, and in addition Sets
andt
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 ofa
andb
, and in addition Sets
andt
to coefficients satisfying(a*s + b*t = gcd)
. - gcdUi(long) - Method in class it.unich.jgmp.MPZ
-
Return the greatest commond divisor of
this
andop
. - gcdUiAssign(long) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZ
to the greatest commond divisor ofop1
andop2
, and returns it. - gcdUiAssign(MPZ, long) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZ
to the greatest commond divisor ofop1
andop2
, 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 aBigDecimal
. - 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...)
andGMP.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 specifiedbase
, ornull
if the base is not valid. - getStr(int) - Method in class it.unich.jgmp.MPZ
-
Return the String representation of this
MPZ
in the specifiedbase
, ornull
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 specifiedbase
, ornull
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 withmpz
,mpq
,mpf
andgmp
) 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 pointerp
. - GmpTypeMapper - Class in it.unich.jgmp.nativelib
- 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
andop
are both>= 0
or both< 0
, return the Hamming distance between them, which is the number of bit positions wherethis
andop
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 leastprec
bits. - init2(long) - Static method in class it.unich.jgmp.MPZ
-
Return an
MPZ
whose value is zero, with pre-allocated space forn
-bit numbers. - initSet(double) - Static method in class it.unich.jgmp.MPF
-
Return an
MPF
whose value isop
, possibly truncated to the default precision. - initSet(double) - Static method in class it.unich.jgmp.MPZ
-
Return an
MPZ
whose value is the truncation ofop
. - initSet(long) - Static method in class it.unich.jgmp.MPF
-
Return an
MPF
whose value isop
, possibly truncated to the default precision. - initSet(long) - Static method in class it.unich.jgmp.MPZ
-
Return an
MPZ
whose value isop
. - initSet(MPF) - Static method in class it.unich.jgmp.MPF
-
Return an
MPF
whose value isop
, possibly truncated to the default precision. - initSet(MPZ) - Static method in class it.unich.jgmp.MPZ
-
Return an
MPZ
whose value isop
. - initSet(String, int) - Static method in class it.unich.jgmp.MPF
-
Return an
MPF
whose value is the number represented by the stringstr
in the specifiedbase
, 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 stringstr
in the specifiedbase
. - initSetUi(long) - Static method in class it.unich.jgmp.MPF
-
Return an
MPF
whose value isop
, possibly truncated to the default precision. - initSetUi(long) - Static method in class it.unich.jgmp.MPZ
-
Return an
MPZ
whose value isop
. - 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 anint
. - 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
to1/op
. - invert(MPZ) - Method in class it.unich.jgmp.MPZ
-
Optionally return, when it exists, an
MPZ
whose value is the inverse ofthis
moduloop
. - invertAssign(MPZ) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZ
to the inverse ofthis
moduloop
. - invertAssign(MPZ, MPZ) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZ
to the inverse ofop1
moduloop2
. - 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
ofold_size
bytes to benew_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 ifthis
is congruent toc
modulod
. - isCongruent2Exp(MPZ, long) - Method in class it.unich.jgmp.MPZ
-
Return
true
if and only ifthis
is congruent toc
modulo2b
. - isCongruentUi(long, long) - Method in class it.unich.jgmp.MPZ
-
Return
true
if and only ifthis
is congruent toc
modulod
. - isDivisible(MPZ) - Method in class it.unich.jgmp.MPZ
-
Return
true
if and only ifthis
is exactly divisible byd
. - isDivisible2Exp(long) - Method in class it.unich.jgmp.MPZ
-
Return
true
if and only ifthis
is exactly divisible by2b
. - isDivisibleUi(long) - Method in class it.unich.jgmp.MPZ
-
Return
true
if and only ifthis
is exactly divisible byd
. - isEven() - Method in class it.unich.jgmp.MPZ
-
Return
true
if and only if thisMPZ
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 thisMPZ
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 integersa
andb
, with(b > 1)
, such thatthis
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 ifthis
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 thisMPZ
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)
whenthis
is odd, or(this/2)=0
whenthis
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 ofthis
andop
. - lcmAssign(MPZ) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZ
to the least common multiple ofthis
andop
. - lcmAssign(MPZ, MPZ) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZ
to the least common multiple ofop1
andop2
. - lcmUi(long) - Method in class it.unich.jgmp.MPZ
-
Return the least common multiple of
this
andop
. - lcmUiAssign(long) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZ
to the least common multiple ofthis
andop
. - lcmUiAssign(MPZ, long) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZ
to the least common multiple ofop1
andop2
. - 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 along
, 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 then
-th and(n-1)
-th Lucas numbers. - lucnum2UiAssign(MPZ, long) - Method in class it.unich.jgmp.MPZ
-
Set the value of
this
andfnsub1
to then
-th and(n-1)
-th Lucas numbers respecively. - lucnumUi(long) - Static method in class it.unich.jgmp.MPZ
-
Return an
MPZ
whose value is then
-th Lucas number. - lucnumUiAssign(long) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZ
to then
-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 them
-multi factorial ofn
. - mfacUiUiAssign(long, long) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZ
to them
-multi factorial ofn
. - 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 specifiedvalue
. - 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 specifiedvalue
. - 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 withvalue
. - 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 isop
, possibly truncated to the default precision. - MPF(long) - Constructor for class it.unich.jgmp.MPF
-
Build an
MPF
whose value isop
, possibly truncated to the default precision. - MPF(MPF) - Constructor for class it.unich.jgmp.MPF
-
Build an
MPF
whose value isop
, possibly truncated to the default precision. - MPF(MPQ) - Constructor for class it.unich.jgmp.MPF
-
Build an
MPF
whose value isop
, possibly truncated to the default precision. - MPF(MPZ) - Constructor for class it.unich.jgmp.MPF
-
Build an
MPF
whose value isop
, 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 stringstr
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 stringstr
in the specifiedbase
, possibly truncated to the default precision. - MPF(BigDecimal) - Constructor for class it.unich.jgmp.MPF
-
Builds an
MPF
whose value is the same asop
. - 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 pointerp
. - 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 isop
. - MPQ(long) - Constructor for class it.unich.jgmp.MPQ
-
Build an
MPQ
whose value isop
. - 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 isop
. - MPQ(MPQ) - Constructor for class it.unich.jgmp.MPQ
-
Build an
MPQ
whose value isop
. - MPQ(MPZ) - Constructor for class it.unich.jgmp.MPQ
-
Build an
MPQ
whose value isop
. - 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 stringstr
in decimal base. - MPQ(String, int) - Constructor for class it.unich.jgmp.MPQ
-
Build an
MPQ
whose value is the number represented by the stringstr
in the specifiedbase
. - 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 pointerp
. - 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 specifiedvalue
. - 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 ofop
. - MPZ(long) - Constructor for class it.unich.jgmp.MPZ
-
Build an
MPZ
whose value isop
. - MPZ(MPF) - Constructor for class it.unich.jgmp.MPZ
-
Build an
MPZ
whose value is the truncation ofop
. - MPZ(MPQ) - Constructor for class it.unich.jgmp.MPZ
-
Build an
MPZ
whose value is the truncation ofop
. - MPZ(MPZ) - Constructor for class it.unich.jgmp.MPZ
-
Build an
MPZ
whose value isop
. - 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 stringstr
in decimal base. - MPZ(String, int) - Constructor for class it.unich.jgmp.MPZ
-
Build an
MPZ
whose value is the number represented by the stringstr
in the specifiedbase
. - MPZ(BigInteger) - Constructor for class it.unich.jgmp.MPZ
-
Builds an
MPZ
whose value is the same asop
. - 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 pointerp
. - 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 specifiedvalue
. - 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 thenthis
. - 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 thenop
. - 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 of1
bits in its binary representation. - powm(MPZ, MPZ) - Method in class it.unich.jgmp.MPZ
-
Return an
MPZ
whose value is(thisexp)
modulomod
. - powmAssign(MPZ, MPZ) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZ
to(thisexp)
modulomod
. - powmAssign(MPZ, MPZ, MPZ) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZ
to(baseexp)
modulomod
. - powmSec(MPZ, MPZ) - Method in class it.unich.jgmp.MPZ
-
Return an
MPZ
whose value is(thisexp)
modulomod
. - powmSecAssign(MPZ, MPZ) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZ
to(thisexp)
modulomod
. - powmSecAssign(MPZ, MPZ, MPZ) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZ
to(baseexp)
modulomod
. - powmUi(long, MPZ) - Method in class it.unich.jgmp.MPZ
-
Return an
MPZ
whose value is(thisexp)
modulomod
. - powmUiAssign(long, MPZ) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZ
to(thisexp)
modulomod
. - powmUiAssign(MPZ, long, MPZ) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZ
to(baseexp)
modulomod
. - 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 ofn
, 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 ofn
, 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 inargs
. - 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.
- 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 mostmaxSize
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 mostmaxSize
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)
orMPZ.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
andthis
, i.e.,(abs(this-op)/this)
. - reldiffAssign(MPF) - Method in class it.unich.jgmp.MPF
-
Set this
MPF
to the relative difference betweenthis
andop
, i.e.,(abs(this-op)/this)
. - reldiffAssign(MPF, MPF) - Method in class it.unich.jgmp.MPF
-
Set this
MPF
to the relative difference betweenop1
andop2
, i.e.,(abs(op1-op2)/op1)
. - remove(MPZ) - Method in class it.unich.jgmp.MPZ
-
Return the result of removing the factor
f
fromthis
, 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
fromthis
MPZ. - removeAssign(MPZ, MPZ) - Method in class it.unich.jgmp.MPZ
-
Remove all occurrences of the factor
f
fromop
and stores the result in thisMPZ
. - 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 then
th root ofthis
, 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 itsn
th root. - rootAssign(MPZ, long) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZ
to the truncated integer part of then
th root ofop
. - rootrem(long) - Method in class it.unich.jgmp.MPZ
-
Return two
MPZ
s whose values are the truncated integer part of then
th root ofthis
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 itsn
th root andrem
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 then
th root ofu
andrem
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 bitstarting_bit
, towards more significant bits, until the first0
bit is found. - scan1(long) - Method in class it.unich.jgmp.MPZ
-
Scan
this
, starting from bitstarting_bit
, towards more significant bits, until the first1
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 inargs
. - 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
toop
, possibly truncated according to precision. - set(double) - Method in class it.unich.jgmp.MPQ
-
Set this
MPQ
toop
. - set(double) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZ
to the truncation ofop
. - set(long) - Method in class it.unich.jgmp.MPF
-
Set this
MPF
toop
, possibly truncated according to precision. - set(long) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZ
toop
. - 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
toop
, possibly truncated according to precision. - set(MPF) - Method in class it.unich.jgmp.MPQ
-
Set this
MPQ
toop
. - set(MPF) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZ
to the truncation ofop
. - set(MPQ) - Method in class it.unich.jgmp.MPF
-
Set this
MPF
toop
, possibly truncated according to precision. - set(MPQ) - Method in class it.unich.jgmp.MPQ
-
Set this
MPQ
toop
. - set(MPQ) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZ
to the truncation ofop
. - set(MPZ) - Method in class it.unich.jgmp.MPF
-
Set this
MPF
toop
, possibly truncated according to precision. - set(MPZ) - Method in class it.unich.jgmp.MPQ
-
Set this
MPQ
toop
. - set(MPZ) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZ
toop
. - 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 stringstr
in the specifiedbase
, possibly truncated according to precision. - set(String, int) - Method in class it.unich.jgmp.MPQ
-
Set this
MPQ
to the number represented by the stringstr
in the specifiedbase
. - set(String, int) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZ
to the number represented by the stringstr
in the specifiedbase
. - set(BigDecimal) - Method in class it.unich.jgmp.MPF
-
Set this
MPF
to the big decimalop
. - set(BigInteger) - Method in class it.unich.jgmp.MPZ
-
Sets this
MPZ
toop
. - 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 thisMPZ
. - 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 valueden
. - 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 valuenum
. - setPrec(long) - Method in class it.unich.jgmp.MPF
-
Set the precision of this
MPF
to be at leastprec
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
toop
, possibly truncated according to precision. - setUi(long) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZ
toop
. - 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
toop
, possibly truncated according to precision. - setValue(double) - Method in class it.unich.jgmp.MPQ
-
Set this
MPQ
to opop
. - setValue(double) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZ
to the truncation opop
. - setValue(long) - Method in class it.unich.jgmp.MPF
-
Set this
MPF
toop
, possibly truncated according to precision. - setValue(long) - Method in class it.unich.jgmp.MPQ
-
Set this
MPQ
toop
. - setValue(long) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZ
to signed longop
. - setValue(MPF) - Method in class it.unich.jgmp.MPF
-
Set this
MPF
toop
, possibly truncated according to precision. - setValue(MPF) - Method in class it.unich.jgmp.MPQ
-
Set this
MPQ
toop
. - setValue(MPF) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZ
to the truncation opop
. - setValue(MPQ) - Method in class it.unich.jgmp.MPF
-
Set this
MPF
toop
, possibly truncated according to precision. - setValue(MPQ) - Method in class it.unich.jgmp.MPQ
-
Set this
MPQ
toop
. - setValue(MPQ) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZ
to the truncation opop
. - setValue(MPZ) - Method in class it.unich.jgmp.MPF
-
Set this
MPF
toop
, possibly truncated according to precision. - setValue(MPZ) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZ
toop
. - 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 stringstr
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 stringstr
in decimal base. - setValue(String) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZ
to the value represented by the stringstr
in decimal base. - setValue(String, int) - Method in class it.unich.jgmp.MPF
-
Set this
MPF
to the number represented by the stringstr
in the specifiedbase
, possibly truncated according to precision. - setValue(String, int) - Method in class it.unich.jgmp.MPQ
-
Set this
MPQ
to the number represented by the stringstr
in the specifiedbase
. - setValue(String, int) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZ
to the number represented by the stringstr
in the specifiedbase
. - setValue(BigDecimal) - Method in class it.unich.jgmp.MPF
-
Set this
MPF
to the big decimalop
. - setValue(BigInteger) - Method in class it.unich.jgmp.MPZ
-
Sets this
MPZ
toop
. - 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
ifthis < 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 specifiedbase
. - 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 specifiedvalue
. - 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 withvalue
. - 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 inargs
. - sqrt() - Method in class it.unich.jgmp.MPF
-
Return an
MPF
whose value is the square root ofthis
. - sqrt() - Method in class it.unich.jgmp.MPZ
-
Return an
MPZ
whose value is the truncated integer part of the square root ofthis
. - 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 ofop
. - sqrtAssign(MPZ) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZ
to the truncated integer part of the square root ofop
. - sqrtrem() - Method in class it.unich.jgmp.MPZ
-
Return two
MPZ
s whose values are the truncated integer part of the square root ofthis
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 andrem
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 ofop
andrem
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 ofthis
. - sqrtUiAssign(long) - Method in class it.unich.jgmp.MPF
-
Set this
MPF
to the the square root ofop
. - sscanf(String, String, Object...) - Static method in class it.unich.jgmp.GMP
-
Parse the string
s
according to the format specification infmt
, filling the variables inargs
. - 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 thisMPZ
. - 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 thisMPZ
. - 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 ofop
. - swap(MPQ) - Method in class it.unich.jgmp.MPQ
-
Swap the value of this
MPQ
with the value ofop
. - swap(MPZ) - Method in class it.unich.jgmp.MPZ
-
Swap the value of this
MPZ
with the value ofop
.
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
MPZ
s 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
andr
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
andr
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
andr
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
andr
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 specifiedbase
, ornull
if the base is not valid. - toString(int) - Method in class it.unich.jgmp.MPQ
-
Convert this
MPQ
to its string representation in the specifiedbase
, ornull
if the base is not valid. - toString(int) - Method in class it.unich.jgmp.MPZ
-
Convert this
MPZ
to its string representation in the specifiedbase
, ornull
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 specifiedbase
, ornull
if the base is not valid. - trunc() - Method in class it.unich.jgmp.MPF
-
Return an
MPF
whose value isthis
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 ofop
rounded towards zero. - tstbit(long) - Method in class it.unich.jgmp.MPZ
-
Return the bit
index
of thisMPZ
. - 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 from0
included to1
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 range0
} 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 from0
included to1
excluded. - urandombAssign(RandState, long) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZ
to a uniformly distributed random integer in the range0
to(2n - 1)
, inclusive. - urandombUi(long) - Method in class it.unich.jgmp.RandState
-
Returns a uniformly distributed random number of
n
bits, in the range0
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 range0
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 range0
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.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
MPZ.urandomb(it.unich.jgmp.RandState,long)
orMPZ.urandomm(it.unich.jgmp.RandState,it.unich.jgmp.MPZ)
instead, since this method uses a global random state and it is not reentrant.