Learn R Programming

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

gmp (version 0.4-12)

Multiple Precision Arithmetic

Description

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

Copy Link

Version

Install

install.packages('gmp')

Monthly Downloads

54,462

Version

0.4-12

License

GPL

Maintainer

Antoine Lucas

Last Published

April 10th, 2010

Functions in gmp (0.4-12)

powm

Exponentiation function
apply

apply over a matrix
modulus

Modulus
gcdex

Compute Bezoult coefficient
Extract

Extract or Replace Parts of an Object
Relational Operator

Relational Operators
bigq

Large sized rationals
gcd.bigz

Great common divisor, Least common multiple
isprime

Determine if number is prime
Random

Generate a random number
lucnum

Compute Fibonacci and Lucas numbers
sizeinbase

Compute size of a bigz in a base
solve.bigz

Solve a system of equation
cumsum

Cummulative, product
Bigq operators

Basic arithmetic operators for large rationals
Extremes

Returns the maxima and minima of the input values.
factorization

Factorize a number
nextprime

Next prime number
Oakley

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

Basic arithmetic operators for large integers
matrix

Matrix manipulation with gmp
bigz

Large sized integer values