Learn R Programming

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

gmp (version 0.4-4)

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

License

GPL

Maintainer

Antoine Lucas

Last Published

August 23rd, 2024

Functions in gmp (0.4-4)

Oakley

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

Determine if number is prime
Random

Generate a random number
matrix

Matrix manipulation with gmp
Extremes

Returns the maxima and minima of the input values.
gcdex

Compute Bezoult coefficient
bigz

Large sized integer values
Bigq operators

Basic arithmetic operators for large rationals
bigq

Large sized rationals
modulus

Modulus
bigz operators

Basic arithmetic operators for large integers
apply

apply over a matrix
cumsum

Cummulative, product
[.bigz

Extract or Replace Parts of an Object
nextprime

Next prime number
Extract

Extract or Replace Parts of an Object
sizeinbase

Compute size of a bigz in a base
solve.bigz

Solve a system of equation
lucnum

Compute Fibonacci and Lucas numbers
gcd.bigz

Great common divisor, Least common multiple
factorization

Factorize a number
Relational Operator

Relational Operators