R: Multiple Precision Arithmetic

# Multiple Precision Arithmetic

## Documentation for package ‘gmp’ version 0.6-2

- DESCRIPTION file.

## Help Pages

A B C D E F G I L M N O P R S T U W misc

## -- A --

abs.bigq | Basic arithmetic operators for large rationals
abs.bigz | Basic Arithmetic Operators for Large Integers ("bigz")
add.bigq | Basic arithmetic operators for large rationals
add.bigz | Basic Arithmetic Operators for Large Integers ("bigz")
apply | Apply Functions Over Matrix Margins (Rows or Columns)
apply.bigq | Apply Functions Over Matrix Margins (Rows or Columns)
apply.bigz | Apply Functions Over Matrix Margins (Rows or Columns)
apply.default | Apply Functions Over Matrix Margins (Rows or Columns)
as.bigq | Large sized rationals
as.bigz | Large Sized Integer Values
as.bigz.bigq | Large sized rationals
as.character.bigq | Large sized rationals
as.character.bigz | Large Sized Integer Values
as.double.bigq | Large sized rationals
as.double.bigz | Large Sized Integer Values
as.matrix.bigq | Matrix manipulation with gmp
as.matrix.bigz | Matrix manipulation with gmp
as.vector.bigq | Matrix manipulation with gmp
as.vector.bigz | Matrix manipulation with gmp
asNumeric | Coerce to 'numeric', not Loosing Dimensions
asNumeric-method | Coerce to 'numeric', not Loosing Dimensions
asNumeric-methods | Coerce to 'numeric', not Loosing Dimensions

## -- B --

BernoulliQ | Exact Bernoulli Numbers
biginteger_as | Large Sized Integer Values
biginteger_as_character | Large Sized Integer Values
bigq | Large sized rationals
bigq-class | Large sized rationals
bigz | Large Sized Integer Values
bigz-class | Large Sized Integer Values

## -- C --

c.bigq | Extract or Replace Parts of an Object
c.bigz | Extract or Replace Parts of an Object
cbind.bigq | Matrix manipulation with gmp
cbind.bigz | Matrix manipulation with gmp
chooseZ | Factorial and Binomial Coefficient as Big Integer
crossprod | Matrix manipulation with gmp
crossprod.bigq | Matrix manipulation with gmp
crossprod.bigz | Matrix manipulation with gmp
crossprod.default | Matrix manipulation with gmp
cumsum.bigq | (Cumulative) Sums, Products of Large Integers and Rationals
cumsum.bigz | (Cumulative) Sums, Products of Large Integers and Rationals
c_bigq | Large sized rationals
c_bigz | Large Sized Integer Values

## -- D --

denominator | Large sized rationals
denominator<- | Large sized rationals
dim.bigq | Matrix manipulation with gmp
dim.bigz | Matrix manipulation with gmp
dim<-.bigq | Matrix manipulation with gmp
dim<-.bigz | Matrix manipulation with gmp
div.bigq | Basic arithmetic operators for large rationals
div.bigz | Basic Arithmetic Operators for Large Integers ("bigz")
divq.bigz | Basic Arithmetic Operators for Large Integers ("bigz")

## -- E --

Eulerian | Eulerian and Stirling Numbers of First and Second Kind
Eulerian.all | Eulerian and Stirling Numbers of First and Second Kind

## -- F --

factorialZ | Factorial and Binomial Coefficient as Big Integer
factorize | Factorize a number
fibnum | Compute Fibonacci and Lucas numbers
fibnum2 | Compute Fibonacci and Lucas numbers
formatN | Format Numbers Keeping Classes Distinguishable
formatN.bigq | Format Numbers Keeping Classes Distinguishable
formatN.bigz | Format Numbers Keeping Classes Distinguishable
formatN.default | Format Numbers Keeping Classes Distinguishable
formatN.double | Format Numbers Keeping Classes Distinguishable
formatN.integer | Format Numbers Keeping Classes Distinguishable
frexp | Split Number into Fractional and Exponent of 2 Parts
frexpZ | Split Number into Fractional and Exponent of 2 Parts

## -- G --

gcd | Greatest Common Divisor (GCD) and Least Common Multiple (LCM)
gcd.bigz | Greatest Common Divisor (GCD) and Least Common Multiple (LCM)
gcd.default | Greatest Common Divisor (GCD) and Least Common Multiple (LCM)
gcdex | Compute Bezoult Coefficient
gmpVersion | GMP Number Utilities

## -- I --

inv | Basic Arithmetic Operators for Large Integers ("bigz")
inv.bigz | Basic Arithmetic Operators for Large Integers ("bigz")
is.bigq | Large sized rationals
is.bigz | Large Sized Integer Values
is.matrixZQ | Matrix manipulation with gmp
is.na.bigq | Large sized rationals
is.na.bigz | Large Sized Integer Values
is.whole | Whole ("Integer") Numbers
is.whole.bigq | Whole ("Integer") Numbers
is.whole.bigz | Whole ("Integer") Numbers
is.whole.default | Whole ("Integer") Numbers
isprime | Determine if number is (very probably) prime

## -- L --

lcm.bigz | Greatest Common Divisor (GCD) and Least Common Multiple (LCM)
lcm.default | Greatest Common Divisor (GCD) and Least Common Multiple (LCM)
length.bigq | Extract or Replace Parts of an Object
length.bigz | Extract or Replace Parts of an Object
length<-.bigq | Extract or Replace Parts of an Object
length<-.bigz | Extract or Replace Parts of an Object
log.bigz | Basic Arithmetic Operators for Large Integers ("bigz")
log10.bigz | Basic Arithmetic Operators for Large Integers ("bigz")
log2.bigz | Basic Arithmetic Operators for Large Integers ("bigz")
lucnum | Compute Fibonacci and Lucas numbers
lucnum2 | Compute Fibonacci and Lucas numbers

## -- M --

matrix | Matrix manipulation with gmp
matrix.bigq | Matrix manipulation with gmp
matrix.bigz | Matrix manipulation with gmp
matrix.default | Matrix manipulation with gmp
max.bigq | Extrema (Maxima and Minima)
max.bigz | Extrema (Maxima and Minima)
min.bigq | Extrema (Maxima and Minima)
min.bigz | Extrema (Maxima and Minima)
mod.bigz | Basic Arithmetic Operators for Large Integers ("bigz")
modulus | Modulus of a Big Integer
modulus.bigz | Modulus of a Big Integer
modulus<- | Modulus of a Big Integer
modulus<-.bigz | Modulus of a Big Integer
mul.bigq | Basic arithmetic operators for large rationals
mul.bigz | Basic Arithmetic Operators for Large Integers ("bigz")

## -- N --

NA_bigq_ | Large sized rationals
NA_bigz_ | Large Sized Integer Values
ncol.bigq | Matrix manipulation with gmp
ncol.bigz | Matrix manipulation with gmp
nextprime | Next Prime Number
nrow.bigq | Matrix manipulation with gmp
nrow.bigz | Matrix manipulation with gmp
numerator | Large sized rationals
numerator<- | Large sized rationals

## -- O --

Oakley | RFC 2409 Oakley Groups - Parameters for Diffie-Hellman Key Exchange
Oakley1 | RFC 2409 Oakley Groups - Parameters for Diffie-Hellman Key Exchange
Oakley2 | RFC 2409 Oakley Groups - Parameters for Diffie-Hellman Key Exchange
outer | Base Functions in 'gmp'-ified Versions

## -- P --

pow | Basic Arithmetic Operators for Large Integers ("bigz")
pow.bigq | Basic arithmetic operators for large rationals
pow.bigz | Basic Arithmetic Operators for Large Integers ("bigz")
powm | Exponentiation function
print.bigq | Large sized rationals
print.bigz | Large Sized Integer Values
prod.bigq | (Cumulative) Sums, Products of Large Integers and Rationals
prod.bigz | (Cumulative) Sums, Products of Large Integers and Rationals

## -- R --

rbind.bigq | Matrix manipulation with gmp
rbind.bigz | Matrix manipulation with gmp
rep.bigq | Extract or Replace Parts of an Object
rep.bigz | Extract or Replace Parts of an Object
round.bigq | Rounding Big Rationals ("bigq") to Decimals
round0 | Rounding Big Rationals ("bigq") to Decimals
roundQ | Rounding Big Rationals ("bigq") to Decimals

## -- S --

sign.bigq | Relational Operators
sign.bigz | Relational Operators
sizeinbase | Compute size of a bigz in a base
solve.bigq | Solve a system of equation
solve.bigz | Solve a system of equation
Stirling1 | Eulerian and Stirling Numbers of First and Second Kind
Stirling1.all | Eulerian and Stirling Numbers of First and Second Kind
Stirling2 | Eulerian and Stirling Numbers of First and Second Kind
Stirling2.all | Eulerian and Stirling Numbers of First and Second Kind
sub.bigq | Basic arithmetic operators for large rationals
sub.bigz | Basic Arithmetic Operators for Large Integers ("bigz")
sum.bigq | (Cumulative) Sums, Products of Large Integers and Rationals
sum.bigz | (Cumulative) Sums, Products of Large Integers and Rationals

## -- T --

t.bigq | Matrix manipulation with gmp
t.bigz | Matrix manipulation with gmp
tcrossprod | Matrix manipulation with gmp
tcrossprod.bigq | Matrix manipulation with gmp
tcrossprod.bigz | Matrix manipulation with gmp
tcrossprod.default | Matrix manipulation with gmp

## -- U --

urand.bigz | Generate a random number

## -- W --

which.max-method | Extrema (Maxima and Minima)
which.min-method | Extrema (Maxima and Minima)

## -- misc --

!=.bigq | Relational Operators
!=.bigz | Relational Operators
%%.bigz | Basic Arithmetic Operators for Large Integers ("bigz")
%*% | Matrix manipulation with gmp
%*%.bigq | Matrix manipulation with gmp
%*%.bigz | Matrix manipulation with gmp
%*%.default | Matrix manipulation with gmp
%/%.bigz | Basic Arithmetic Operators for Large Integers ("bigz")
*.bigq | Basic arithmetic operators for large rationals
*.bigz | Basic Arithmetic Operators for Large Integers ("bigz")
+.bigq | Basic arithmetic operators for large rationals
+.bigz | Basic Arithmetic Operators for Large Integers ("bigz")
-.bigq | Basic arithmetic operators for large rationals
-.bigz | Basic Arithmetic Operators for Large Integers ("bigz")
/.bigq | Basic arithmetic operators for large rationals
/.bigz | Basic Arithmetic Operators for Large Integers ("bigz")
<.bigq | Relational Operators
<.bigz | Relational Operators
<=.bigq | Relational Operators
<=.bigz | Relational Operators
==.bigq | Relational Operators
==.bigz | Relational Operators
>.bigq | Relational Operators
>.bigz | Relational Operators
>=.bigq | Relational Operators
>=.bigz | Relational Operators
[.bigq | Extract or Replace Parts of an Object
[.bigz | Extract or Replace Parts of an Object
[<-.bigq | Extract or Replace Parts of an Object
[<-.bigz | Extract or Replace Parts of an Object
[[.bigq | Extract or Replace Parts of an Object
[[.bigz | Extract or Replace Parts of an Object
[[<-.bigq | Extract or Replace Parts of an Object
[[<-.bigz | Extract or Replace Parts of an Object
^.bigq | Basic arithmetic operators for large rationals
^.bigz | Basic Arithmetic Operators for Large Integers ("bigz")