Learn R Programming

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

gmp (version 0.4-11)

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-11

License

GPL

Maintainer

Antoine Lucas

Last Published

October 27th, 2009

Functions in gmp (0.4-11)

apply

apply over a matrix
solve.bigz

Solve a system of equation
Bigq

Relational Operators
nextprime

Next prime number
Random

Generate a random number
powm

Exponentiation function
isprime

Determine if number is prime
Bigq operators

Basic arithmetic operators for large rationals
lucnum

Compute Fibonacci and Lucas numbers
gcd.bigz

Great common divisor, Least common multiple
Extract

Extract or Replace Parts of an Object
cumsum

Cummulative, product
matrix

Matrix manipulation with gmp
Oakley

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

Large sized integer values
gcdex

Compute Bezoult coefficient
factorization

Factorize a number
sizeinbase

Compute size of a bigz in a base
Extremes

Returns the maxima and minima of the input values.
modulus

Modulus
bigz operators

Basic arithmetic operators for large integers
Relational Operator

Relational Operators