Learn R Programming

gmp (version 0.7-5)

Multiple Precision Arithmetic

Description

Multiple Precision Arithmetic (big integers and rationals, prime number tests, matrix computation), "arithmetic without limitations" using the C library GMP (GNU Multiple Precision Arithmetic).

Copy Link

Version

Install

install.packages('gmp')

Monthly Downloads

64,195

Version

0.7-5

License

GPL (>= 2)

Maintainer

Last Published

August 23rd, 2024

Functions in gmp (0.7-5)

Bigq

Relational Operators
factorialZ

Factorial and Binomial Coefficient as Big Integer
binomQ

Exact Rational Binomial Probabilities
Relational_Operator

Relational Operators
lucnum

Compute Fibonacci and Lucas numbers
Bigq_operators

Basic arithmetic operators for large rationals
nextprime

Next Prime Number
isprime

Determine if number is (very probably) prime
sizeinbase

Compute size of a bigz in a base
gcd.bigz

Greatest Common Divisor (GCD) and Least Common Multiple (LCM)
powm

Exponentiation function
frexpZ

Split Number into Fractional and Exponent of 2 Parts
is.whole

Whole ("Integer") Numbers
gmp.utils

GMP Number Utilities
formatN

Format Numbers Keeping Classes Distinguishable
matrix

Matrix manipulation with gmp
solve.bigz

Solve a system of equation
mpfr

Exported function for mpfr use
roundQ

Rounding Big Rationals ("bigq") to Decimals
gcdex

Compute Bezoult Coefficient
modulus

Modulus of a Big Integer
apply

Apply Functions Over Matrix Margins (Rows or Columns)
BernoulliQ

Exact Bernoulli Numbers
Random

Generate a random number
Extremes

Extrema (Maxima and Minima)
Oakley

RFC 2409 Oakley Groups - Parameters for Diffie-Hellman Key Exchange
Stirling

Eulerian and Stirling Numbers of First and Second Kind
extract

Extract or Replace Parts of a 'bigz' or 'bigq' Object
bigz

Large Sized Integer Values
gmp-ifiworkarounds

Base Functions in 'gmp'-ified Versions
bigz_operators

Basic Arithmetic Operators for Large Integers ("bigz")
cumsum

(Cumulative) Sums, Products of Large Integers and Rationals
bigq

Large sized rationals
asNumeric

Coerce to 'numeric', not Loosing Dimensions
factorization

Factorize a number