Learn R Programming

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

gmp (version 0.5-13)

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

52,488

Version

0.5-13

License

GPL

Maintainer

Antoine Lucas

Last Published

January 8th, 2017

Functions in gmp (0.5-13)

frexpZ

Split Number into Fractional and Exponent of 2 Parts
modulus

Modulus of a Big Integer
matrix

Matrix manipulation with gmp
gcdex

Compute Bezoult Coefficient
lucnum

Compute Fibonacci and Lucas numbers
factorialZ

Factorial and Binomial Coefficient as Big Integer
gcd.bigz

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

Factorize a number
Extremes

Extrema (Maxima and Minima)
nextprime

Next Prime Number
Bigq operators

Basic arithmetic operators for large rationals
Oakley

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

Exponentiation function
is.whole

Whole ("Integer") Numbers
isprime

Determine if number is (very probably) prime
gmp.utils

GMP Number Utilities
Stirling

Eulerian and Stirling Numbers of First and Second Kind
apply

Apply Functions Over Matrix Margins (Rows or Columns)
Random

Generate a random number
bigz operators

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

Large sized rationals
Relational Operator

Relational Operators
cumsum

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

Coerce to 'numeric', not Loosing Dimensions
extract

Extract or Replace Parts of an Object
sizeinbase

Compute size of a bigz in a base
formatN

Format Numbers Keeping Classes Distinguishable
bigz

Large Sized Integer Values
solve.bigz

Solve a system of equation