Learn R Programming

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

gmp (version 0.4-8)

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

License

GPL

Maintainer

Antoine Lucas

Last Published

August 23rd, 2024

Functions in gmp (0.4-8)

Oakley

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

Determine if number is prime
gcd.bigz

Great common divisor, Least common multiple
cumsum

Cummulative, product
Bigq

Relational Operators
solve.bigz

Solve a system of equation
bigz operators

Basic arithmetic operators for large integers
Relational Operator

Relational Operators
Extremes

Returns the maxima and minima of the input values.
nextprime

Next prime number
bigz

Large sized integer values
Extract

Extract or Replace Parts of an Object
Random

Generate a random number
modulus

Modulus
sizeinbase

Compute size of a bigz in a base
Bigq operators

Basic arithmetic operators for large rationals
lucnum

Compute Fibonacci and Lucas numbers
factorization

Factorize a number
matrix

Matrix manipulation with gmp
apply

apply over a matrix
gcdex

Compute Bezoult coefficient