Learn R Programming

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

gmp (version 0.5-13.6)

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

48,935

Version

0.5-13.6

License

GPL

Maintainer

Antoine Lucas

Last Published

January 24th, 2020

Functions in gmp (0.5-13.6)

gmp-ifiworkarounds

Base Functions in 'gmp'-ified Versions
Bigq

Relational Operators
powm

Exponentiation function
gcd.bigz

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

Extract or Replace Parts of an Object
isprime

Determine if number is (very probably) prime
Bigq operators

Basic arithmetic operators for large rationals
gmp.utils

GMP Number Utilities
frexpZ

Split Number into Fractional and Exponent of 2 Parts
matrix

Matrix manipulation with gmp
factorization

Factorize a number
factorialZ

Factorial and Binomial Coefficient as Big Integer
lucnum

Compute Fibonacci and Lucas numbers
apply

Apply Functions Over Matrix Margins (Rows or Columns)
Extremes

Extrema (Maxima and Minima)
formatN

Format Numbers Keeping Classes Distinguishable
sizeinbase

Compute size of a bigz in a base
cumsum

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

Modulus of a Big Integer
is.whole

Whole ("Integer") Numbers
gcdex

Compute Bezoult Coefficient
nextprime

Next Prime Number
solve.bigz

Solve a system of equation
Random

Generate a random number
Stirling

Eulerian and Stirling Numbers of First and Second Kind
bigz operators

Basic Arithmetic Operators for Large Integers ("bigz")
Relational Operator

Relational Operators
Oakley

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

Large Sized Integer Values
bigq

Large sized rationals
asNumeric

Coerce to 'numeric', not Loosing Dimensions