Learn R Programming

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

gmp (version 0.4-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.

Copy Link

Version

Install

install.packages('gmp')

Monthly Downloads

52,488

Version

0.4-10

License

GPL

Maintainer

Antoine Lucas

Last Published

August 23rd, 2024

Functions in gmp (0.4-10)

isprime

Determine if number is prime
Extract

Extract or Replace Parts of an Object
Extremes

Returns the maxima and minima of the input values.
Bigq

Relational Operators
Oakley

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

Exponentiation function
lucnum

Compute Fibonacci and Lucas numbers
nextprime

Next prime number
cumsum

Cummulative, product
apply

apply over a matrix
gcdex

Compute Bezoult coefficient
Random

Generate a random number
bigz operators

Basic arithmetic operators for large integers
solve.bigz

Solve a system of equation
sizeinbase

Compute size of a bigz in a base
factorization

Factorize a number
Bigq operators

Basic arithmetic operators for large rationals
matrix

Matrix manipulation with gmp
Relational Operator

Relational Operators
modulus

Modulus
gcd.bigz

Great common divisor, Least common multiple
bigz

Large sized integer values