Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- abs() - Method in class it.unich.jgmp.MPF
-
Return an
MPFwhose value is the absolute value ofthis. - abs() - Method in class it.unich.jgmp.MPQ
-
Return an
MPQwhose value is the absolute value ofthis. - abs() - Method in class it.unich.jgmp.MPZ
-
Return an
MPZwhose value is the absolute value ofthis. - absAssign() - Method in class it.unich.jgmp.MPF
-
Set this
MPFto its absolute value. - absAssign() - Method in class it.unich.jgmp.MPQ
-
Set this
MPQto its absolute value. - absAssign() - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto its absolute value. - absAssign(MPF) - Method in class it.unich.jgmp.MPF
-
Set this
MPFto the absolute value ofop. - absAssign(MPQ) - Method in class it.unich.jgmp.MPQ
-
Set this
MPQto the absolute value ofop. - absAssign(MPZ) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto the absolute value ofop. - add(MPF) - Method in class it.unich.jgmp.MPF
-
Return an
MPFwhose value is(this + op). - add(MPQ) - Method in class it.unich.jgmp.MPQ
-
Return an
MPQwhose value is(this + op). - add(MPZ) - Method in class it.unich.jgmp.MPZ
-
Return an
MPZwhose value is(this + op). - addAssign(MPF) - Method in class it.unich.jgmp.MPF
-
Set this
MPFto(this + op) - addAssign(MPF, MPF) - Method in class it.unich.jgmp.MPF
-
Set this
MPFto(op1 + op2). - addAssign(MPQ) - Method in class it.unich.jgmp.MPQ
-
Set this
MPQto(this + op) - addAssign(MPQ, MPQ) - Method in class it.unich.jgmp.MPQ
-
Set this
MPQto(op1 + op2). - addAssign(MPZ) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto(this + op) - addAssign(MPZ, MPZ) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto(op1 + op2). - addmul(MPZ, MPZ) - Method in class it.unich.jgmp.MPZ
-
Return an
MPZwhose 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
MPZwhose 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
MPFwhose value is(this + op). - addUi(long) - Method in class it.unich.jgmp.MPZ
-
Return an
MPZwhose value is(this + op). - addUiAssign(long) - Method in class it.unich.jgmp.MPF
-
Set this
MPFto(this + op) - addUiAssign(long) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto(this + op) - addUiAssign(MPF, long) - Method in class it.unich.jgmp.MPF
-
Set this
MPFto(op1 + op2). - addUiAssign(MPZ, long) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto(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
AllocFunccallback. - 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
MPZwhose value is(this & op). - andAssign(MPZ) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto(this & op). - andAssign(MPZ, MPZ) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto(op1 & op2).
B
- binUi(long) - Method in class it.unich.jgmp.MPZ
-
Return an
MPZwhose value is the binomial coefficientthisoverk. - binUiAssign(long) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto the binomial coefficientthisoverk. - binUiAssign(MPZ, long) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto the binomial coefficientnoverk. - binUiUi(long, long) - Static method in class it.unich.jgmp.MPZ
-
Return an
MPZwhose value is the binomial coefficientnoverk. - binUiUiAssign(long, long) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto the binomial coefficientnoverk. - bufferExport(int, int, int, long) - Method in class it.unich.jgmp.MPZ
-
Return a
ByteBufferfilled with word data from thisMPZ. - bufferImport(int, int, int, long, ByteBuffer) - Static method in class it.unich.jgmp.MPZ
-
Return an
MPZwhose 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
MPZfrom the buffer of word data atop.
C
- cdivq(MPZ) - Method in class it.unich.jgmp.MPZ
-
Return an
MPZwhose value is the quotient of the integer division(this / d), rounded towards +∞. - cdivq2Exp(long) - Method in class it.unich.jgmp.MPZ
-
Return an
MPZwhose value is the quotient of the integer division(this / 2b), rounded towards +∞. - cdivq2ExpAssign(long) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto the quotient of the integer division(this / 2b), rounded toward +∞. - cdivq2ExpAssign(MPZ, long) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto the quotient of the integer division(n / 2b), rounded toward +∞. - cdivqAssign(MPZ) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto the quotient of the integer division(this / d), rounded towards +∞. - cdivqAssign(MPZ, MPZ) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto the quotient of the integer division(n / d), rounded towards +∞. - cdivqr(MPZ) - Method in class it.unich.jgmp.MPZ
-
Return a pair of
MPZs whose values are the quotient and remainder of the integer division(this / d), rounded towards +∞. - cdivqrAssign(MPZ, MPZ) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZandrto 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
MPZandrto the quotient and remainder of the integer division(n / d), rounded towards +∞. - cdivqrUiAssign(MPZ, long) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZandrto 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
MPZandrto 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
MPZto 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
MPZto 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
MPZwhose value is the remainder of the integer division(this / d), rounded towards +∞. - cdivr2Exp(long) - Method in class it.unich.jgmp.MPZ
-
Return an
MPZwhose value is the remainder of the integer division(this / 2b), rounded towards +∞. - cdivr2ExpAssign(long) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto the remainder of the integer division(this / 2b), rounded toward +∞. - cdivr2ExpAssign(MPZ, long) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto the remainder of the integer division(n / 2b), rounded toward +∞. - cdivrAssign(MPZ) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto the remainder of the integer division(this / d), rounded towards +∞. - cdivrAssign(MPZ, MPZ) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto the remainder of the integer division(n / d), rounded towards +∞. - cdivrUiAssign(long) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto 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
MPZto 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
MPFwhose value isthisrounded to the next higher integer. - ceilAssign() - Method in class it.unich.jgmp.MPF
-
Set this
MPFto its value rounded to the next higher integer. - ceilAssign(MPF) - Method in class it.unich.jgmp.MPF
-
Set this
MPFto the value ofoprounded 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
MPZwhose value is(this & ~ 2index). - clrbitAssign(long) - Method in class it.unich.jgmp.MPZ
-
Clear the bit
indexof thisMPZ. - cmp(double) - Method in class it.unich.jgmp.MPF
-
Compare
thiswithop. - cmp(double) - Method in class it.unich.jgmp.MPZ
-
Compare
thiswithop. - cmp(long) - Method in class it.unich.jgmp.MPF
-
Compare
thiswithop. - cmp(long) - Method in class it.unich.jgmp.MPZ
-
Compare
thiswithop. - cmp(long, long) - Method in class it.unich.jgmp.MPQ
-
Compare
thiswith(num/dem). - cmp(MPF) - Method in class it.unich.jgmp.MPF
-
Compare
thiswithop. - cmp(MPQ) - Method in class it.unich.jgmp.MPQ
-
Compare
thiswithop. - cmp(MPZ) - Method in class it.unich.jgmp.MPF
-
Compare
thiswithop. - cmp(MPZ) - Method in class it.unich.jgmp.MPQ
-
Compare
thiswithop. - cmp(MPZ) - Method in class it.unich.jgmp.MPZ
-
Compare
thiswithop. - cmpabs(double) - Method in class it.unich.jgmp.MPZ
-
Compare the absolute values of
thisandop. - cmpabs(MPZ) - Method in class it.unich.jgmp.MPZ
-
Compare the absolute values of
thisandop. - cmpabsUi(long) - Method in class it.unich.jgmp.MPZ
-
Compare the absolute values of
thisandop. - cmpUi(long) - Method in class it.unich.jgmp.MPF
-
Compare
thiswithop. - cmpUi(long) - Method in class it.unich.jgmp.MPZ
-
Compare
thiswithop. - cmpUi(long, long) - Method in class it.unich.jgmp.MPQ
-
Compare
thiswith(num/dem). - com() - Method in class it.unich.jgmp.MPZ
-
Return an
MPZwhose value is(~ op). - comAssign() - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto(~ this). - comAssign(MPZ) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto(~ op). - combit(long) - Method in class it.unich.jgmp.MPZ
-
Return an
MPZwhose value is(this ^ 2index). - combitAssign(long) - Method in class it.unich.jgmp.MPZ
-
Complement the bit
indexof thisMPZ. - compareTo(MPF) - Method in class it.unich.jgmp.MPF
-
Compare this
MPFwithop. - compareTo(MPQ) - Method in class it.unich.jgmp.MPQ
-
Compare this
MPQwithop. - compareTo(MPZ) - Method in class it.unich.jgmp.MPZ
-
Compare this
MPZwithop.
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
MPZwhose value the double factorial ofn. - dfacUiAssign(long) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto 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
MPFwhose value is(this / op). - div(MPQ) - Method in class it.unich.jgmp.MPQ
-
Return an
MPQwhose value is(this / op). - div2Exp(long) - Method in class it.unich.jgmp.MPF
-
Return an
MPFwhose value is(this * 2b). - div2Exp(long) - Method in class it.unich.jgmp.MPQ
-
Return an
MPQwhose value is(this / 2b). - div2ExpAssign(long) - Method in class it.unich.jgmp.MPF
-
Set this
MPFto(this / 2b). - div2ExpAssign(long) - Method in class it.unich.jgmp.MPQ
-
Set this
MPQto(this / 2b). - div2ExpAssign(MPF, long) - Method in class it.unich.jgmp.MPF
-
Set this
MPFto(op / 2b). - div2ExpAssign(MPQ, long) - Method in class it.unich.jgmp.MPQ
-
Set this
MPQto(op / 2b). - divAssign(MPF) - Method in class it.unich.jgmp.MPF
-
Set this
MPFto(this / op) - divAssign(MPF, MPF) - Method in class it.unich.jgmp.MPF
-
Set this
MPFto(op1 / op2). - divAssign(MPQ) - Method in class it.unich.jgmp.MPQ
-
Set this
MPQto(this / op) - divAssign(MPQ, MPQ) - Method in class it.unich.jgmp.MPQ
-
Set this
MPQto(op1 / op2). - divexact(MPZ) - Method in class it.unich.jgmp.MPZ
-
Return an
MPZwhose value is the quotient of(this / d). - divexactAssign(MPZ) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto the quotient of(this / d). - divexactAssign(MPZ, MPZ) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto the quotient of(n / d). - divexactUi(long) - Method in class it.unich.jgmp.MPZ
-
Return an
MPZwhose value is the quotient of(this / d). - divexactUiAssign(long) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto the quotient of(this / d). - divexactUiAssign(MPZ, long) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto the quotient of(n / d). - divUi(long) - Method in class it.unich.jgmp.MPF
-
Return an
MPFwhose value is(this / op). - divUiAssign(long) - Method in class it.unich.jgmp.MPF
-
Set this
MPFto(this / op) - divUiAssign(MPF, long) - Method in class it.unich.jgmp.MPF
-
Set this
MPFto(op1 / op2). - doubleValue() - Method in class it.unich.jgmp.MPF
-
Convert this
MPFto a double, truncating if necessary. - doubleValue() - Method in class it.unich.jgmp.MPQ
-
Convert this
MPQto a double, truncating if necessary. - doubleValue() - Method in class it.unich.jgmp.MPZ
-
Convert this
MPZto 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
thisis equal toop, false otherwise. - equals(Object) - Method in class it.unich.jgmp.MPF
-
Compare this
MPFwith the objectopfor equality. - equals(Object) - Method in class it.unich.jgmp.MPQ
-
Compare this
MPQwith the objectopfor equality. - equals(Object) - Method in class it.unich.jgmp.MPZ
-
Compare this
MPZwith the objectopfor equality.
F
- facUi(long) - Static method in class it.unich.jgmp.MPZ
-
Return an
MPZwhose value is the factorial ofn. - facUiAssign(long) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto the factorial ofn. - fdivq(MPZ) - Method in class it.unich.jgmp.MPZ
-
Return an
MPZwhose value is the quotient of the integer division(this / d), rounded towards -∞. - fdivq2Exp(long) - Method in class it.unich.jgmp.MPZ
-
Return an
MPZwhose value is the quotient of the integer division(this / 2b), rounded towards -∞. - fdivq2ExpAssign(long) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto the quotient of the integer division(this / 2b), rounded toward -∞. - fdivq2ExpAssign(MPZ, long) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto the quotient of the integer division(n / 2b), rounded toward -∞. - fdivqAssign(MPZ) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto the quotient of the integer division(this / d), rounded towards -∞. - fdivqAssign(MPZ, MPZ) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto the quotient of the integer division(n / d), rounded towards -∞. - fdivqr(MPZ) - Method in class it.unich.jgmp.MPZ
-
Return two
MPZs whose values are the quotient and remainder of the integer division(this / d), rounded towards -∞. - fdivqrAssign(MPZ, MPZ) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZandrto 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
MPZandrto the quotient and remainder of the integer division(n / d), rounded towards -∞. - fdivqrUiAssign(MPZ, long) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZandrto 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
MPZandrto 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
MPZto 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
MPZto 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
MPZwhose value is the remainder of the integer division(this / d), rounded towards -∞. - fdivr2Exp(long) - Method in class it.unich.jgmp.MPZ
-
Return an
MPZwhose value is the remainder of the integer division(this / 2b), rounded towards -∞. - fdivr2ExpAssign(long) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto the remainder of the integer division(this / 2b), rounded toward -∞. - fdivr2ExpAssign(MPZ, long) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto the remainder of the integer division(n / 2b), rounded toward -∞. - fdivrAssign(MPZ) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto the remainder of the integer division(this / d), rounded towards -∞. - fdivrAssign(MPZ, MPZ) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto the remainder of the integer division(n / d), rounded towards -∞. - fdivrUiAssign(long) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto 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
MPZto 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
MPZwhose values are then-th and(n-1)-th Fibonacci numbers. - fib2UiAssign(MPZ, long) - Method in class it.unich.jgmp.MPZ
-
Set the value of
thisandfnsub1to then-th and(n-1)-th Fibonacci numbers respecively. - fibUi(long) - Static method in class it.unich.jgmp.MPZ
-
Return an
MPZwhose value is then-th Fibonacci number. - fibUiAssign(long) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto then-th Fibonacci number. - fitsSint() - Method in class it.unich.jgmp.MPF
-
Return
trueif and only if thisMPFfits into a native signed int. - fitsSint() - Method in class it.unich.jgmp.MPZ
-
Return
trueif and only if thisMPZfits into a native signed int. - fitsSlong() - Method in class it.unich.jgmp.MPF
-
Return
trueif and only if thisMPFfits into a native signed long. - fitsSlong() - Method in class it.unich.jgmp.MPZ
-
Return
trueif and only if thisMPZfits into a native signed long. - fitsSshort() - Method in class it.unich.jgmp.MPF
-
Return
trueif and only if thisMPFfits into a native signed short. - fitsSshort() - Method in class it.unich.jgmp.MPZ
-
Return
trueif and only if thisMPZfits into a native signed short. - fitsUint() - Method in class it.unich.jgmp.MPF
-
Return
trueif and only if thisMPFfits into a native unsigned int. - fitsUint() - Method in class it.unich.jgmp.MPZ
-
Return
trueif and only if thisMPZfits into a native unsigned int. - fitsUlong() - Method in class it.unich.jgmp.MPF
-
Return
trueif and only if thisMPFfits into a native unsigned long. - fitsUlong() - Method in class it.unich.jgmp.MPZ
-
Return
trueif and only if thisMPZfits into a native unsigned long. - fitsUshort() - Method in class it.unich.jgmp.MPF
-
Return
trueif and only if thisMPFfits into a native unsigned short. - fitsUshort() - Method in class it.unich.jgmp.MPZ
-
Return
trueif and only if thisMPZfits into a native unsigned short. - floatValue() - Method in class it.unich.jgmp.MPF
-
Convert this
MPFto a float, truncating if necessary. - floatValue() - Method in class it.unich.jgmp.MPQ
-
Convert this
MPQto a float, truncating if necessary. - floatValue() - Method in class it.unich.jgmp.MPZ
-
Convert this
MPZto a float, truncating if necessary. - floor() - Method in class it.unich.jgmp.MPF
-
Return an
MPFwhose value isthisrounded to the next lower integer. - floorAssign() - Method in class it.unich.jgmp.MPF
-
Set this
MPFto its value rounded to the next lower integer. - floorAssign(MPF) - Method in class it.unich.jgmp.MPF
-
Set this
MPFto the value ofoprounded 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
FreeFunccallback. - 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
MPZwhose value is the greatest commond divisor ofthisandop. - gcdAssign(MPZ) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto the greatest commond divisor ofthisandop. - gcdAssign(MPZ, MPZ) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto the greatest commond divisor ofop1andop2. - gcdext(MPZ) - Method in class it.unich.jgmp.MPZ
-
Return the greatest common divisor of
thisandop, together with numberssandtsatisfying(a*this + b*op = g)See the GMP functionmpz_gcdext. - gcdextAssign(MPZ, MPZ, MPZ) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto the greatest common divisor ofthisandop, and in addition Setsandtto coefficients satisfying(this*s + op*t = gcd). - gcdextAssign(MPZ, MPZ, MPZ, MPZ) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto the greatest common divisor ofaandb, and in addition Setsandtto coefficients satisfying(a*s + b*t = gcd). - gcdUi(long) - Method in class it.unich.jgmp.MPZ
-
Return the greatest commond divisor of
thisandop. - gcdUiAssign(long) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto the greatest commond divisor ofop1andop2, and returns it. - gcdUiAssign(MPZ, long) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto the greatest commond divisor ofop1andop2, 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
thisto aBigDecimal. - getBigInteger() - Method in class it.unich.jgmp.MPZ
-
Converts this
MPZto 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
MPFto a double, truncating if necessary. - getD() - Method in class it.unich.jgmp.MPQ
-
Convert this
MPQto a double, truncating if necessary. - getD() - Method in class it.unich.jgmp.MPZ
-
Convert this
MPZto a double, truncating if necessary. - getD2Exp() - Method in class it.unich.jgmp.MPF
-
Convert this
MPFto a pair made of mantissa and exponent, truncating if necessary. - getD2Exp() - Method in class it.unich.jgmp.MPZ
-
Convert this
MPZto 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
MPFto a long, truncating any fraction part. - getSi() - Method in class it.unich.jgmp.MPZ
-
Convert this
MPZto a signed long. - getStr(int) - Method in class it.unich.jgmp.MPQ
-
Return the String representation of this
MPQin the specifiedbase, ornullif the base is not valid. - getStr(int) - Method in class it.unich.jgmp.MPZ
-
Return the String representation of this
MPZin the specifiedbase, ornullif the base is not valid. - getStr(int, long) - Method in class it.unich.jgmp.MPF
-
Return the String representation of this
MPFin the specifiedbase, ornullif 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
MPFto an unsigned long, truncating any fraction part. - getUi() - Method in class it.unich.jgmp.MPZ
-
Convert this
MPZto an unsigned long. - getValue() - Method in class it.unich.jgmp.nativelib.MpExpTByReference
-
Get the value of
mp_exp_tobject pointed by this reference. - getValue() - Method in class it.unich.jgmp.nativelib.SizeTByReference
-
Get the value of
size_tobject 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_errnovariable. - 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
LibGmpExtrainterface created at initialization time. - GmpFunctionMapper - Class in it.unich.jgmp.nativelib
-
A
FunctionMapperwhich converts the official GMP function names (beginning withmpz,mpq,mpfandgmp) 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_tnative type. - GmpRandstateT() - Constructor for class it.unich.jgmp.nativelib.GmpRandstateT
-
Allocate the memory needed for an
gmp_randstate_tstructure and return the pointer to it. - GmpRandstateT(Pointer) - Constructor for class it.unich.jgmp.nativelib.GmpRandstateT
-
Create a new
GmpRandstateTcorresponding 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
MPFto the native pointer type. - GmpTypeMapper.MPQToNativeConverter - Class in it.unich.jgmp.nativelib
-
A converter from
MPQto the native pointer type. - GmpTypeMapper.MPZToNativeConverter - Class in it.unich.jgmp.nativelib
-
A converter from
MPZto the native pointer type.
H
- hamdist(MPZ) - Method in class it.unich.jgmp.MPZ
-
If
thisandopare both>= 0or both< 0, return the Hamming distance between them, which is the number of bit positions wherethisandophave 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
MPFwhose value is zero. - init() - Static method in class it.unich.jgmp.MPQ
-
Return an
MPQwhose value is zero. - init() - Static method in class it.unich.jgmp.MPZ
-
Return an
MPZwhose value is zero. - init2(long) - Static method in class it.unich.jgmp.MPF
-
Return an
MPFwhose value is zero, and set its precision to be at leastprecbits. - init2(long) - Static method in class it.unich.jgmp.MPZ
-
Return an
MPZwhose value is zero, with pre-allocated space forn-bit numbers. - initSet(double) - Static method in class it.unich.jgmp.MPF
-
Return an
MPFwhose value isop, possibly truncated to the default precision. - initSet(double) - Static method in class it.unich.jgmp.MPZ
-
Return an
MPZwhose value is the truncation ofop. - initSet(long) - Static method in class it.unich.jgmp.MPF
-
Return an
MPFwhose value isop, possibly truncated to the default precision. - initSet(long) - Static method in class it.unich.jgmp.MPZ
-
Return an
MPZwhose value isop. - initSet(MPF) - Static method in class it.unich.jgmp.MPF
-
Return an
MPFwhose value isop, possibly truncated to the default precision. - initSet(MPZ) - Static method in class it.unich.jgmp.MPZ
-
Return an
MPZwhose value isop. - initSet(String, int) - Static method in class it.unich.jgmp.MPF
-
Return an
MPFwhose value is the number represented by the stringstrin the specifiedbase, possibly truncated to the default precision. - initSet(String, int) - Static method in class it.unich.jgmp.MPZ
-
Return an
MPZwhose value is the number represented by the stringstrin the specifiedbase. - initSetUi(long) - Static method in class it.unich.jgmp.MPF
-
Return an
MPFwhose value isop, possibly truncated to the default precision. - initSetUi(long) - Static method in class it.unich.jgmp.MPZ
-
Return an
MPZwhose 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
MPFto anint. - intValue() - Method in class it.unich.jgmp.MPQ
-
Convert this
MPQto an int, truncating if necessary. - intValue() - Method in class it.unich.jgmp.MPZ
-
Convert this
MPZto a signed int, truncating if necessary. - inv() - Method in class it.unich.jgmp.MPQ
-
Return an
MPQwhose value is(1/this). - invAssign() - Method in class it.unich.jgmp.MPQ
-
Set this
MPQto its inverse. - invAssign(MPQ) - Method in class it.unich.jgmp.MPQ
-
Set this
MPQto1/op. - invert(MPZ) - Method in class it.unich.jgmp.MPZ
-
Optionally return, when it exists, an
MPZwhose value is the inverse ofthismoduloop. - invertAssign(MPZ) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto the inverse ofthismoduloop. - invertAssign(MPZ, MPZ) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto the inverse ofop1moduloop2. - 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
ptrofold_sizebytes to benew_sizebytes. - 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_sizebytes. - ior(MPZ) - Method in class it.unich.jgmp.MPZ
-
Return an
MPZwhose value is(this | op). - iorAssign(MPZ) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto(this | op). - iorAssign(MPZ, MPZ) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto(op1 | op2). - isCongruent(MPZ, MPZ) - Method in class it.unich.jgmp.MPZ
-
Return
trueif and only ifthisis congruent tocmodulod. - isCongruent2Exp(MPZ, long) - Method in class it.unich.jgmp.MPZ
-
Return
trueif and only ifthisis congruent tocmodulo2b. - isCongruentUi(long, long) - Method in class it.unich.jgmp.MPZ
-
Return
trueif and only ifthisis congruent tocmodulod. - isDivisible(MPZ) - Method in class it.unich.jgmp.MPZ
-
Return
trueif and only ifthisis exactly divisible byd. - isDivisible2Exp(long) - Method in class it.unich.jgmp.MPZ
-
Return
trueif and only ifthisis exactly divisible by2b. - isDivisibleUi(long) - Method in class it.unich.jgmp.MPZ
-
Return
trueif and only ifthisis exactly divisible byd. - isEven() - Method in class it.unich.jgmp.MPZ
-
Return
trueif and only if thisMPZis even - isInteger() - Method in class it.unich.jgmp.MPF
-
Return whether this
MPFis an integer. - isOdd() - Method in class it.unich.jgmp.MPZ
-
Return
trueif and only if thisMPZis odd. - isPerfectPower() - Method in class it.unich.jgmp.MPZ
-
Return
trueif and only if this number is a perfect power, i.e., if there exist integersaandb, with(b > 1), such thatthisequals(ab). - isPerfectSquare() - Method in class it.unich.jgmp.MPZ
-
Return
trueif and only if this number is a perfect square. - isProbabPrime(int) - Method in class it.unich.jgmp.MPZ
-
Return
trueif and only ifthisis prime. - isZero() - Method in class it.unich.jgmp.MPF
-
Return true if and only if this
thisMPF is zero. - isZero() - Method in class it.unich.jgmp.MPQ
-
Return true if and only if
thisMPQ is zero. - isZero() - Method in class it.unich.jgmp.MPZ
-
Return
trueif and only if thisMPZis 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)whenthisis odd, or(this/2)=0whenthisis 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
MPZwhose value is the least common multiple ofthisandop. - lcmAssign(MPZ) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto the least common multiple ofthisandop. - lcmAssign(MPZ, MPZ) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto the least common multiple ofop1andop2. - lcmUi(long) - Method in class it.unich.jgmp.MPZ
-
Return the least common multiple of
thisandop. - lcmUiAssign(long) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto the least common multiple ofthisandop. - lcmUiAssign(MPZ, long) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto the least common multiple ofop1andop2. - 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
MPFto along, truncating any fraction part. - longValue() - Method in class it.unich.jgmp.MPQ
-
Convert this
MPQto an long, truncating if necessary. - longValue() - Method in class it.unich.jgmp.MPZ
-
Convert this
MPZto 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
MPZwhose values are then-th and(n-1)-th Lucas numbers. - lucnum2UiAssign(MPZ, long) - Method in class it.unich.jgmp.MPZ
-
Set the value of
thisandfnsub1to then-th and(n-1)-th Lucas numbers respecively. - lucnumUi(long) - Static method in class it.unich.jgmp.MPZ
-
Return an
MPZwhose value is then-th Lucas number. - lucnumUiAssign(long) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto 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
MPZwhose value is them-multi factorial ofn. - mfacUiUiAssign(long, long) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto them-multi factorial ofn. - mod(MPZ) - Method in class it.unich.jgmp.MPZ
-
Return an
MPZwhose value is(this mod d). - modAssign(MPZ) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto(this mod d). - modAssign(MPZ, MPZ) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto(n mod d). - modUi(long) - Method in class it.unich.jgmp.MPZ
-
Return an
MPZwhose value is(this mod d). - modUiAssign(long) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto(n mod d); it also returns the result. - modUiAssign(MPZ, long) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto(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_tdata type, which may be a 32 or 64 bit unsigned integer. - MpBitcntT() - Constructor for class it.unich.jgmp.nativelib.MpBitcntT
-
Create an
mp_bitcnt_twith value 0 - MpBitcntT(long) - Constructor for class it.unich.jgmp.nativelib.MpBitcntT
-
Create a
mp_bitcnt_twith the specifiedvalue. - MpExpT - Class in it.unich.jgmp.nativelib
-
The native
mp_exp_tdata 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_twith value 0 - MpExpT(long) - Constructor for class it.unich.jgmp.nativelib.MpExpT
-
Create a
mp_exp_twith the specifiedvalue. - MpExpTByReference - Class in it.unich.jgmp.nativelib
-
A reference to the native
mp_exp_tdata type. - MpExpTByReference() - Constructor for class it.unich.jgmp.nativelib.MpExpTByReference
-
Create a reference to a newly allocated
mp_exp_tobject. - MpExpTByReference(MpExpT) - Constructor for class it.unich.jgmp.nativelib.MpExpTByReference
-
Create a reference to a newly allocated
mp_exp_tobject, 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
MPFwhose value is zero. - MPF(double) - Constructor for class it.unich.jgmp.MPF
-
Build an
MPFwhose value isop, possibly truncated to the default precision. - MPF(long) - Constructor for class it.unich.jgmp.MPF
-
Build an
MPFwhose value isop, possibly truncated to the default precision. - MPF(MPF) - Constructor for class it.unich.jgmp.MPF
-
Build an
MPFwhose value isop, possibly truncated to the default precision. - MPF(MPQ) - Constructor for class it.unich.jgmp.MPF
-
Build an
MPFwhose value isop, possibly truncated to the default precision. - MPF(MPZ) - Constructor for class it.unich.jgmp.MPF
-
Build an
MPFwhose value isop, possibly truncated to the default precision. - MPF(MpfT) - Constructor for class it.unich.jgmp.MPF
-
A private constructor which build an
MPFstarting from a pointer to its native data object. - MPF(String) - Constructor for class it.unich.jgmp.MPF
-
Build an
MPFwhose value is the number represented by the stringstrin decimal base, possibly truncated to the default precision. - MPF(String, int) - Constructor for class it.unich.jgmp.MPF
-
Build an
MPFwhose value is the number represented by the stringstrin the specifiedbase, possibly truncated to the default precision. - MPF(BigDecimal) - Constructor for class it.unich.jgmp.MPF
-
Builds an
MPFwhose 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_tnative 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
MPFclass. - 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_tobject. - mpfPointer - Variable in class it.unich.jgmp.MPF.MPFCleaner
- MpfT - Class in it.unich.jgmp.nativelib
-
Type representing an object of the
mpf_tnative type. - MpfT() - Constructor for class it.unich.jgmp.nativelib.MpfT
-
Allocate the memory needed for an
mpf_tnative type and return the pointer to it. - MpfT(Pointer) - Constructor for class it.unich.jgmp.nativelib.MpfT
-
Create a new
MpfTcorresponding 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
MPQwhose value is zero. - MPQ(double) - Constructor for class it.unich.jgmp.MPQ
-
Build an
MPQwhose value isop. - MPQ(long) - Constructor for class it.unich.jgmp.MPQ
-
Build an
MPQwhose value isop. - MPQ(long, long) - Constructor for class it.unich.jgmp.MPQ
-
Build an
MPQwhose value is(num/dem). - MPQ(MPF) - Constructor for class it.unich.jgmp.MPQ
-
Build an
MPQwhose value isop. - MPQ(MPQ) - Constructor for class it.unich.jgmp.MPQ
-
Build an
MPQwhose value isop. - MPQ(MPZ) - Constructor for class it.unich.jgmp.MPQ
-
Build an
MPQwhose value isop. - MPQ(MpqT) - Constructor for class it.unich.jgmp.MPQ
-
A private constructor which build an
MPQstarting from a pointer to its native data object. - MPQ(String) - Constructor for class it.unich.jgmp.MPQ
-
Build an
MPQwhose value is the number represented by the stringstrin decimal base. - MPQ(String, int) - Constructor for class it.unich.jgmp.MPQ
-
Build an
MPQwhose value is the number represented by the stringstrin 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_tnative 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
MPQclass. - 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_tobject. - mpqPointer - Variable in class it.unich.jgmp.MPQ.MPQCleaner
- MpqT - Class in it.unich.jgmp.nativelib
-
Type representing an object of the
mpq_tnative type. - MpqT() - Constructor for class it.unich.jgmp.nativelib.MpqT
-
Allocate the memory needed for an
mpq_tnative type and return the pointer to it. - MpqT(Pointer) - Constructor for class it.unich.jgmp.nativelib.MpqT
-
Create a new
MpqTcorresponding to the pointerp. - MPQToNativeConverter() - Constructor for class it.unich.jgmp.nativelib.GmpTypeMapper.MPQToNativeConverter
- MpSizeT - Class in it.unich.jgmp.nativelib
-
The native
mp_size_tdata 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_twith value 0 - MpSizeT(long) - Constructor for class it.unich.jgmp.nativelib.MpSizeT
-
Create a
mp_size_twith the specifiedvalue. - MPZ - Class in it.unich.jgmp
-
Multi-precision integer number.
- MPZ() - Constructor for class it.unich.jgmp.MPZ
-
Build an
MPZwhose value is zero. - MPZ(double) - Constructor for class it.unich.jgmp.MPZ
-
Build an
MPZwhose value is the truncation ofop. - MPZ(long) - Constructor for class it.unich.jgmp.MPZ
-
Build an
MPZwhose value isop. - MPZ(MPF) - Constructor for class it.unich.jgmp.MPZ
-
Build an
MPZwhose value is the truncation ofop. - MPZ(MPQ) - Constructor for class it.unich.jgmp.MPZ
-
Build an
MPZwhose value is the truncation ofop. - MPZ(MPZ) - Constructor for class it.unich.jgmp.MPZ
-
Build an
MPZwhose value isop. - MPZ(MpzT) - Constructor for class it.unich.jgmp.MPZ
-
A private constructor which build an
MPZstarting from a pointer to its native data object. - MPZ(String) - Constructor for class it.unich.jgmp.MPZ
-
Build an
MPZwhose value is the number represented by the stringstrin decimal base. - MPZ(String, int) - Constructor for class it.unich.jgmp.MPZ
-
Build an
MPZwhose value is the number represented by the stringstrin the specifiedbase. - MPZ(BigInteger) - Constructor for class it.unich.jgmp.MPZ
-
Builds an
MPZwhose 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_tnative 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
MPZclass. - MPZ.PrimalityStatus - Enum in it.unich.jgmp
-
Result enumeration for themethod.
invalid reference
isProbabPrime - 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_tobject. - mpzPointer - Variable in class it.unich.jgmp.MPZ.MPZCleaner
- MpzT - Class in it.unich.jgmp.nativelib
-
Type representing an object of the
mpz_tnative type. - MpzT() - Constructor for class it.unich.jgmp.nativelib.MpzT
-
Allocate the memory needed for an
mpz_tnative type and return the pointer to it. - MpzT(Pointer) - Constructor for class it.unich.jgmp.nativelib.MpzT
-
Create a new
MpzTcorresponding 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
MPZwhose value is(this * op). - mul(MPF) - Method in class it.unich.jgmp.MPF
-
Return an
MPFwhose value is(this * op). - mul(MPQ) - Method in class it.unich.jgmp.MPQ
-
Return an
MPQwhose value is(this * op). - mul(MPZ) - Method in class it.unich.jgmp.MPZ
-
Return an
MPZwhose value is(this * op). - mul2Exp(long) - Method in class it.unich.jgmp.MPF
-
Return an
MPFwhose value is(this * 2b). - mul2Exp(long) - Method in class it.unich.jgmp.MPQ
-
Return an
MPQwhose value is(this * 2b). - mul2Exp(long) - Method in class it.unich.jgmp.MPZ
-
Return an
MPZwhose value is(this * 2b). - mul2ExpAssign(long) - Method in class it.unich.jgmp.MPF
-
Set this
MPFto(this * 2b). - mul2ExpAssign(long) - Method in class it.unich.jgmp.MPQ
-
Set this
MPQto(this * 2b). - mul2ExpAssign(long) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto(this * 2b). - mul2ExpAssign(MPF, long) - Method in class it.unich.jgmp.MPF
-
Set this
MPFto(op * 2b). - mul2ExpAssign(MPQ, long) - Method in class it.unich.jgmp.MPQ
-
Set this
MPQto(op * 2b). - mul2ExpAssign(MPZ, long) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto(op * 2b). - mulAssign(long) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto(this * op) - mulAssign(MPF) - Method in class it.unich.jgmp.MPF
-
Set this
MPFto(this * op) - mulAssign(MPF, MPF) - Method in class it.unich.jgmp.MPF
-
Set this
MPFto(op1 * op2). - mulAssign(MPQ) - Method in class it.unich.jgmp.MPQ
-
Set this
MPQto(this * op) - mulAssign(MPQ, MPQ) - Method in class it.unich.jgmp.MPQ
-
Set this
MPQto(op1 * op2). - mulAssign(MPZ) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto(this * op) - mulAssign(MPZ, long) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto(op1 * op2). - mulAssign(MPZ, MPZ) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto(op1 * op2). - mulUi(long) - Method in class it.unich.jgmp.MPF
-
Return an
MPFwhose value is(this * op). - mulUi(long) - Method in class it.unich.jgmp.MPZ
-
Return an
MPZwhose value is(this * op). - mulUiAssign(long) - Method in class it.unich.jgmp.MPF
-
Set this
MPFto(this * op) - mulUiAssign(long) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto(this * op) - mulUiAssign(MPF, long) - Method in class it.unich.jgmp.MPF
-
Set this
MPFto(op1 * op2). - mulUiAssign(MPZ, long) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto(op1 * op2).
N
- Naming conventions: general rules - Section in package it.unich.jgmp
- Naming conventions: the base name - Section in package it.unich.jgmp
- 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 longwith value 0 - NativeUnsignedLong(long) - Constructor for class it.unich.jgmp.nativelib.NativeUnsignedLong
-
Create a native
unsigned longwith the specifiedvalue. - neg() - Method in class it.unich.jgmp.MPF
-
Return an
MPFwhose value is(- this). - neg() - Method in class it.unich.jgmp.MPQ
-
Return an
MPQwhose value is the quotient of(- this). - neg() - Method in class it.unich.jgmp.MPZ
-
Return an
MPZwhose value is the quotient of(- this). - negAssign() - Method in class it.unich.jgmp.MPF
-
Set this
MPFto its opposite. - negAssign() - Method in class it.unich.jgmp.MPQ
-
Set this
MPQto its opposite. - negAssign() - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto its opposite. - negAssign(MPF) - Method in class it.unich.jgmp.MPF
-
Set this
MPFto(- op). - negAssign(MPQ) - Method in class it.unich.jgmp.MPQ
-
Set this
MPQto(- op). - negAssign(MPZ) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto(- op). - nextprime() - Method in class it.unich.jgmp.MPZ
-
Return an
MPZwhose value is the next prime greater thenthis. - nextprimeAssign() - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto the next prime greater then itself. - nextprimeAssign(MPZ) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto 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
MPZis non-negative, return its population count, which is the number of1bits in its binary representation. - powm(MPZ, MPZ) - Method in class it.unich.jgmp.MPZ
-
Return an
MPZwhose value is(thisexp)modulomod. - powmAssign(MPZ, MPZ) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto(thisexp)modulomod. - powmAssign(MPZ, MPZ, MPZ) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto(baseexp)modulomod. - powmSec(MPZ, MPZ) - Method in class it.unich.jgmp.MPZ
-
Return an
MPZwhose value is(thisexp)modulomod. - powmSecAssign(MPZ, MPZ) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto(thisexp)modulomod. - powmSecAssign(MPZ, MPZ, MPZ) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto(baseexp)modulomod. - powmUi(long, MPZ) - Method in class it.unich.jgmp.MPZ
-
Return an
MPZwhose value is(thisexp)modulomod. - powmUiAssign(long, MPZ) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto(thisexp)modulomod. - powmUiAssign(MPZ, long, MPZ) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto(baseexp)modulomod. - powUi(long) - Method in class it.unich.jgmp.MPF
-
Return an
MPFwhose value is(thisexp). - powUi(long) - Method in class it.unich.jgmp.MPZ
-
Return an
MPZwhose value is(thisexp). - powUi(long, long) - Static method in class it.unich.jgmp.MPZ
-
Return an
MPZwhose value is(baseexp). - powUiAssign(long) - Method in class it.unich.jgmp.MPF
-
Set this
MPFto(thisexp). - powUiAssign(long) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto(thisexp). - powUiAssign(long, long) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto(baseexp). - powUiAssign(MPF, long) - Method in class it.unich.jgmp.MPF
-
Set this
MPFto(baseexp). - powUiAssign(MPZ, long) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto(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
MPZwhose 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
MPZto 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
fmtand 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
MPFwhose value is a random integer of at mostmaxSizelimbs, 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
MPFto a random integer of at mostmaxSizelimbs, 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
RandStatestarting 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_tstructure. - RandState.RandomStateCleaner - Class in it.unich.jgmp
-
Cleaning action for the
RandStateclass. - randstateNative - Variable in class it.unich.jgmp.RandState
-
The pointer to the native
gmp_randstate_tobject. - 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
nbits. - ReallocFunc - Interface in it.unich.jgmp.nativelib
-
Custom reallocator function callback.
- ReallocFuncByReference - Class in it.unich.jgmp.nativelib
-
A structure containing an
ReallocFunccallback. - 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
thisandthis, i.e.,(abs(this-op)/this). - reldiffAssign(MPF) - Method in class it.unich.jgmp.MPF
-
Set this
MPFto the relative difference betweenthisandop, i.e.,(abs(this-op)/this). - reldiffAssign(MPF, MPF) - Method in class it.unich.jgmp.MPF
-
Set this
MPFto the relative difference betweenop1andop2, i.e.,(abs(op1-op2)/op1). - remove(MPZ) - Method in class it.unich.jgmp.MPZ
-
Return the result of removing the factor
ffromthis, together with the number of occurrences which were removed. - removeAssign(MPZ) - Method in class it.unich.jgmp.MPZ
-
Remove all occurrences of the factor
ffromthisMPZ. - removeAssign(MPZ, MPZ) - Method in class it.unich.jgmp.MPZ
-
Remove all occurrences of the factor
ffromopand 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
MPZwhose value is the truncated integer part of thenth 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
MPZto the truncated integer part of itsnth root. - rootAssign(MPZ, long) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto the truncated integer part of thenth root ofop. - rootrem(long) - Method in class it.unich.jgmp.MPZ
-
Return two
MPZs whose values are the truncated integer part of thenth root ofthisand the remainder, i.e.,(u - rootn). - rootremAssign(MPZ, long) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto the truncated integer part of the itsnth root andremto the remainder, i.e.,(this - rootn). - rootremAssign(MPZ, MPZ, long) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto the truncated integer part of thenth root ofuandremto the remainder, i.e.,(u - rootn). - rrandomb(RandState, long) - Static method in class it.unich.jgmp.MPZ
-
Return an
MPZwhose 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
MPZto 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 first0bit is found. - scan1(long) - Method in class it.unich.jgmp.MPZ
-
Scan
this, starting from bitstarting_bit, towards more significant bits, until the first1bit 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
MPFtoop, possibly truncated according to precision. - set(double) - Method in class it.unich.jgmp.MPQ
-
Set this
MPQtoop. - set(double) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto the truncation ofop. - set(long) - Method in class it.unich.jgmp.MPF
-
Set this
MPFtoop, possibly truncated according to precision. - set(long) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZtoop. - set(long, long) - Method in class it.unich.jgmp.MPQ
-
Set this
MPQto(<num/>den). - set(MPF) - Method in class it.unich.jgmp.MPF
-
Set this
MPFtoop, possibly truncated according to precision. - set(MPF) - Method in class it.unich.jgmp.MPQ
-
Set this
MPQtoop. - set(MPF) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto the truncation ofop. - set(MPQ) - Method in class it.unich.jgmp.MPF
-
Set this
MPFtoop, possibly truncated according to precision. - set(MPQ) - Method in class it.unich.jgmp.MPQ
-
Set this
MPQtoop. - set(MPQ) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto the truncation ofop. - set(MPZ) - Method in class it.unich.jgmp.MPF
-
Set this
MPFtoop, possibly truncated according to precision. - set(MPZ) - Method in class it.unich.jgmp.MPQ
-
Set this
MPQtoop. - set(MPZ) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZtoop. - set(MpzT, BigInteger) - Static method in class it.unich.jgmp.MPZ
- set(String, int) - Method in class it.unich.jgmp.MPF
-
Set this
MPFto the number represented by the stringstrin the specifiedbase, possibly truncated according to precision. - set(String, int) - Method in class it.unich.jgmp.MPQ
-
Set this
MPQto the number represented by the stringstrin the specifiedbase. - set(String, int) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto the number represented by the stringstrin the specifiedbase. - set(BigDecimal) - Method in class it.unich.jgmp.MPF
-
Set this
MPFto the big decimalop. - set(BigInteger) - Method in class it.unich.jgmp.MPZ
-
Sets this
MPZtoop. - 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
MPZwhose value is(this | 2index). - setbitAssign(long) - Method in class it.unich.jgmp.MPZ
-
Set the bit
indexof 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
precbits. - setDen(MPZ) - Method in class it.unich.jgmp.MPQ
-
Set the denominator of
thisto 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
thisto the valuenum. - setPrec(long) - Method in class it.unich.jgmp.MPF
-
Set the precision of this
MPFto be at leastprecbits. - 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
MPFtoop, possibly truncated according to precision. - setUi(long) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZtoop. - setUi(long, long) - Method in class it.unich.jgmp.MPQ
-
Set this
MPQto(num/den). - setValue(double) - Method in class it.unich.jgmp.MPF
-
Set this
MPFtoop, possibly truncated according to precision. - setValue(double) - Method in class it.unich.jgmp.MPQ
-
Set this
MPQto opop. - setValue(double) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto the truncation opop. - setValue(long) - Method in class it.unich.jgmp.MPF
-
Set this
MPFtoop, possibly truncated according to precision. - setValue(long) - Method in class it.unich.jgmp.MPQ
-
Set this
MPQtoop. - setValue(long) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto signed longop. - setValue(MPF) - Method in class it.unich.jgmp.MPF
-
Set this
MPFtoop, possibly truncated according to precision. - setValue(MPF) - Method in class it.unich.jgmp.MPQ
-
Set this
MPQtoop. - setValue(MPF) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto the truncation opop. - setValue(MPQ) - Method in class it.unich.jgmp.MPF
-
Set this
MPFtoop, possibly truncated according to precision. - setValue(MPQ) - Method in class it.unich.jgmp.MPQ
-
Set this
MPQtoop. - setValue(MPQ) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto the truncation opop. - setValue(MPZ) - Method in class it.unich.jgmp.MPF
-
Set this
MPFtoop, possibly truncated according to precision. - setValue(MPZ) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZtoop. - setValue(MpExpT) - Method in class it.unich.jgmp.nativelib.MpExpTByReference
-
Change the value of the
mp_exp_tobject pointed by this reference. - setValue(SizeT) - Method in class it.unich.jgmp.nativelib.SizeTByReference
-
Change the value of the
size_tobject pointed by this reference. - setValue(String) - Method in class it.unich.jgmp.MPF
-
Set this
MPFto the value represented by the stringstrin decimal base, possibly truncated according to precision. - setValue(String) - Method in class it.unich.jgmp.MPQ
-
Set this
MPQto the value represented by the stringstrin decimal base. - setValue(String) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto the value represented by the stringstrin decimal base. - setValue(String, int) - Method in class it.unich.jgmp.MPF
-
Set this
MPFto the number represented by the stringstrin the specifiedbase, possibly truncated according to precision. - setValue(String, int) - Method in class it.unich.jgmp.MPQ
-
Set this
MPQto the number represented by the stringstrin the specifiedbase. - setValue(String, int) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto the number represented by the stringstrin the specifiedbase. - setValue(BigDecimal) - Method in class it.unich.jgmp.MPF
-
Set this
MPFto the big decimalop. - setValue(BigInteger) - Method in class it.unich.jgmp.MPZ
-
Sets this
MPZtoop. - sgn() - Method in class it.unich.jgmp.MPF
-
Return
+1if(this > 0),0if(this = 0)and-1if(this < 0). - sgn() - Method in class it.unich.jgmp.MPQ
-
Return
+1if(this > 0),0if(this = 0)and-1if(this < 0). - sgn() - Method in class it.unich.jgmp.MPZ
-
Return
+1if(this > 0),0if(this = 0)and-1ifthis < 0. - Side-effect free methods - Section in package it.unich.jgmp
- SIZE - Static variable in class it.unich.jgmp.nativelib.MpBitcntT
-
The size of the native
mp_bitcnt_tdata type. - SIZE - Static variable in class it.unich.jgmp.nativelib.MpExpT
-
The size of the native
mp_exp_tdata type. - SIZE - Static variable in class it.unich.jgmp.nativelib.MpSizeT
-
The size of the native
mp_size_tdata type. - sizeinbase(int) - Method in class it.unich.jgmp.MPZ
-
Return the size of this
MPZmeasured in number of digits in the specifiedbase. - SizeT - Class in it.unich.jgmp.nativelib
-
The native
size_tdata type, which may be a 32 or 64 bit unsigned integer. - SizeT() - Constructor for class it.unich.jgmp.nativelib.SizeT
-
Create a
size_twith value 0 - SizeT(long) - Constructor for class it.unich.jgmp.nativelib.SizeT
-
Create a
size_twith the specifiedvalue. - SizeTByReference - Class in it.unich.jgmp.nativelib
-
A reference to the native
size_tdata type. - SizeTByReference() - Constructor for class it.unich.jgmp.nativelib.SizeTByReference
-
Create a reference to a newly allocated
size_tobject. - SizeTByReference(SizeT) - Constructor for class it.unich.jgmp.nativelib.SizeTByReference
-
Create a reference to a newly allocated
size_tobject, which is initialized withvalue. - sprintf(String, Object...) - Static method in class it.unich.jgmp.GMP
-
Return a string according to the format specification in
fmtand the additional arguments inargs. - sqrt() - Method in class it.unich.jgmp.MPF
-
Return an
MPFwhose value is the square root ofthis. - sqrt() - Method in class it.unich.jgmp.MPZ
-
Return an
MPZwhose value is the truncated integer part of the square root ofthis. - sqrtAssign() - Method in class it.unich.jgmp.MPF
-
Set this
MPFto its square root. - sqrtAssign() - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto the truncated integer part of its square root. - sqrtAssign(MPF) - Method in class it.unich.jgmp.MPF
-
Set this
MPFto the the square root ofop. - sqrtAssign(MPZ) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto the truncated integer part of the square root ofop. - sqrtrem() - Method in class it.unich.jgmp.MPZ
-
Return two
MPZs whose values are the truncated integer part of the square root ofthisand the remainder, i.e.,(op - root2). - sqrtremAssign(MPZ) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto the truncated integer part of its square root andremto the remainder, i.e.,(this - root2). - sqrtremAssign(MPZ, MPZ) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto the truncated integer part of the square root ofopandremto the remainder, i.e.,(op - root2). - sqrtUi(long) - Static method in class it.unich.jgmp.MPF
-
Return an
MPFwhose value is the square root ofthis. - sqrtUiAssign(long) - Method in class it.unich.jgmp.MPF
-
Set this
MPFto the the square root ofop. - sscanf(String, String, Object...) - Static method in class it.unich.jgmp.GMP
-
Parse the string
saccording 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
MPFwhose value is(this - op). - sub(MPQ) - Method in class it.unich.jgmp.MPQ
-
Return an
MPQwhose value is(this - op). - sub(MPZ) - Method in class it.unich.jgmp.MPZ
-
Return an
MPZwhose value is(this - op). - subAssign(MPF) - Method in class it.unich.jgmp.MPF
-
Set this
MPFto(this - op) - subAssign(MPF, MPF) - Method in class it.unich.jgmp.MPF
-
Set this
MPFto(op1 - op2). - subAssign(MPQ) - Method in class it.unich.jgmp.MPQ
-
Set this
MPQto(this - op) - subAssign(MPQ, MPQ) - Method in class it.unich.jgmp.MPQ
-
Set this
MPQto(op1 - op2). - subAssign(MPZ) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto(this - op) - subAssign(MPZ, MPZ) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto(op1 - op2). - submul(MPZ, MPZ) - Method in class it.unich.jgmp.MPZ
-
Return an
MPZwhose 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
MPZwhose 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
MPFwhose value is(this - op). - subUi(long) - Method in class it.unich.jgmp.MPZ
-
Return an
MPZwhose value is(this - op). - subUiAssign(long) - Method in class it.unich.jgmp.MPF
-
Set this
MPFto(this - op) - subUiAssign(long) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto(this - op) - subUiAssign(MPF, long) - Method in class it.unich.jgmp.MPF
-
Set this
MPFto(op1 - op2). - subUiAssign(MPZ, long) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto(op1 - op2). - swap(MPF) - Method in class it.unich.jgmp.MPF
-
Swap the value of this
MPFwith the value ofop. - swap(MPQ) - Method in class it.unich.jgmp.MPQ
-
Swap the value of this
MPQwith the value ofop. - swap(MPZ) - Method in class it.unich.jgmp.MPZ
-
Swap the value of this
MPZwith the value ofop.
T
- tdivq(MPZ) - Method in class it.unich.jgmp.MPZ
-
Return an
MPZwhose value is the quotient of the integer division(this / d), rounded towards zero. - tdivq2Exp(long) - Method in class it.unich.jgmp.MPZ
-
Return an
MPZwhose value is the quotient of the integer division(this / 2b), rounded towards zero. - tdivq2ExpAssign(long) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto the quotient of the integer division(this / 2b), rounded toward zero. - tdivq2ExpAssign(MPZ, long) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto the quotient of the integer division(n / 2b), rounded toward zero. - tdivqAssign(MPZ) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto the quotient of the integer division(this / d), rounded towards zero. - tdivqAssign(MPZ, MPZ) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto the quotient of the integer division(n / d), rounded towards zero. - tdivqr(MPZ) - Method in class it.unich.jgmp.MPZ
-
Return two
MPZs whose values are the quotient and remainder of the integer division(this / d), rounded towards zero. - tdivqrAssign(MPZ, MPZ) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZandrto 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
MPZandrto 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
MPZandrto 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
MPZandrto 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
MPZto 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
MPZto 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
MPZwhose value is the remainder of the integer division(this / d), rounded towards zero. - tdivr2Exp(long) - Method in class it.unich.jgmp.MPZ
-
Return an
MPZwhose value is the remainder of the integer division(this / 2b), rounded towards zero. - tdivr2ExpAssign(long) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto the remainder of the integer division(this / 2b), rounded toward zero. - tdivr2ExpAssign(MPZ, long) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto the remainder of the integer division(n / 2b), rounded toward zero. - tdivrAssign(MPZ) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto the remainder of the integer division(this / d), rounded towards zero. - tdivrAssign(MPZ, MPZ) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto the remainder of the integer division(n / d), rounded towards zero. - tdivrUiAssign(long) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto 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
MPZto 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
MPFto its decimal string representation. - toString() - Method in class it.unich.jgmp.MPQ
-
Convert this
MPQto its decimal string representation. - toString() - Method in class it.unich.jgmp.MPZ
-
Convert this
MPZto its decimal string representation. - toString(int) - Method in class it.unich.jgmp.MPF
-
Convert this
MPFto its string representation in the specifiedbase, ornullif the base is not valid. - toString(int) - Method in class it.unich.jgmp.MPQ
-
Convert this
MPQto its string representation in the specifiedbase, ornullif the base is not valid. - toString(int) - Method in class it.unich.jgmp.MPZ
-
Convert this
MPZto its string representation in the specifiedbase, ornullif the base is not valid. - toString(int, long) - Method in class it.unich.jgmp.MPF
-
Convert this
MPFto its string representation in the specifiedbase, ornullif the base is not valid. - trunc() - Method in class it.unich.jgmp.MPF
-
Return an
MPFwhose value isthisrounded towards zero. - truncAssign() - Method in class it.unich.jgmp.MPF
-
Set this
MPFto its value rounded towards zero. - truncAssign(MPF) - Method in class it.unich.jgmp.MPF
-
Set this
MPFto the value ofoprounded towards zero. - tstbit(long) - Method in class it.unich.jgmp.MPZ
-
Return the bit
indexof thisMPZ. - Type mapping - Section in package it.unich.jgmp
U
- uiDiv(long) - Method in class it.unich.jgmp.MPF
-
Return an
MPFwhose value is(op / this). - uiDivAssign(long) - Method in class it.unich.jgmp.MPF
-
Set this
MPFto(op / this) - uiDivAssign(long, MPF) - Method in class it.unich.jgmp.MPF
-
Set this
MPFto(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
MPFwhose value is(op - this). - uiSub(long) - Method in class it.unich.jgmp.MPZ
-
Return an
MPZwhose value is(op - this). - uiSubAssign(long) - Method in class it.unich.jgmp.MPF
-
Set this
MPFto(op - this) - uiSubAssign(long) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto(op - this) - uiSubAssign(long, MPF) - Method in class it.unich.jgmp.MPF
-
Set this
MPFto(op1 - op2). - uiSubAssign(long, MPZ) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto(op1 - op2). - urandomb(RandState, long) - Static method in class it.unich.jgmp.MPF
-
Return an
MPFwhose value is an uniformly distributed random float in the range from0included to1excluded. - urandomb(RandState, long) - Static method in class it.unich.jgmp.MPZ
-
Return an
MPZwhose 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
MPFto a uniformly distributed random float in the range from0included to1excluded. - urandombAssign(RandState, long) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto a uniformly distributed random integer in the range0to(2n - 1), inclusive. - urandombUi(long) - Method in class it.unich.jgmp.RandState
-
Returns a uniformly distributed random number of
nbits, in the range0to(2n-1)inclusive. - urandomm(RandState, MPZ) - Static method in class it.unich.jgmp.MPZ
-
Return an
MPZwhose value is an uniformly distributed random integer in the range0to(n - 1), inclusive. - urandommAssign(RandState, MPZ) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto a uniformly distributed random integer in the range0to(n - 1), inclusive. - urandommUi(long) - Method in class it.unich.jgmp.RandState
-
Returns a uniformly distributed random number in the range
0to(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
MPZwhose value is(this ^ op). - xorAssign(MPZ) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto(this ^ op). - xorAssign(MPZ, MPZ) - Method in class it.unich.jgmp.MPZ
-
Set this
MPZto(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.