Learn R Programming

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

gmp (version 0.4-6)

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

License

GPL

Maintainer

Antoine Lucas

Last Published

August 23rd, 2024

Functions in gmp (0.4-6)

apply

apply over a matrix
bigz operators

Basic arithmetic operators for large integers
gcdex

Compute Bezoult coefficient
Extract

Extract or Replace Parts of an Object
factorization

Factorize a number
Bigq operators

Basic arithmetic operators for large rationals
modulus

Modulus
Extremes

Returns the maxima and minima of the input values.
sizeinbase

Compute size of a bigz in a base
cumsum

Cummulative, product
matrix

Matrix manipulation with gmp
solve.bigz

Solve a system of equation
bigq

Large sized rationals
Relational Operator

Relational Operators
Random

Generate a random number
lucnum

Compute Fibonacci and Lucas numbers
gcd.bigz

Great common divisor, Least common multiple
bigz

Large sized integer values
nextprime

Next prime number
Oakley

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

Determine if number is prime