Learn R Programming

⚠️There's a newer version (0.7-5) of this package.Take me there.

gmp (version 0.6-10)

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

54,462

Version

0.6-10

License

GPL (>= 2)

Maintainer

Antoine Lucas

Last Published

January 17th, 2023

Functions in gmp (0.6-10)

apply

Apply Functions Over Matrix Margins (Rows or Columns)
Stirling

Eulerian and Stirling Numbers of First and Second Kind
asNumeric

Coerce to 'numeric', not Loosing Dimensions
bigz_operators

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

Generate a random number
lucnum

Compute Fibonacci and Lucas numbers
bigq

Large sized rationals
formatN

Format Numbers Keeping Classes Distinguishable
binomQ

Exact Rational Binomial Probabilities
gcdex

Compute Bezoult Coefficient
Relational_Operator

Relational Operators
extract

Extract or Replace Parts of an Object
Extremes

Extrema (Maxima and Minima)
is.whole

Whole ("Integer") Numbers
BernoulliQ

Exact Bernoulli Numbers
frexpZ

Split Number into Fractional and Exponent of 2 Parts
gcd.bigz

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

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

Determine if number is (very probably) prime
roundQ

Rounding Big Rationals ("bigq") to Decimals
sizeinbase

Compute size of a bigz in a base
matrix

Matrix manipulation with gmp
factorization

Factorize a number
factorialZ

Factorial and Binomial Coefficient as Big Integer
Bigq_operators

Basic arithmetic operators for large rationals
gmp-ifiworkarounds

Base Functions in 'gmp'-ified Versions
powm

Exponentiation function
solve.bigz

Solve a system of equation
gmp.utils

GMP Number Utilities
bigz

Large Sized Integer Values
Bigq

Relational Operators
cumsum

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

Modulus of a Big Integer
nextprime

Next Prime Number