Learn R Programming

VeryLargeIntegers (version 0.2.1)

Store and Operate with Arbitrarily Large Integers

Description

Multi-precision library that allows to store and operate with arbitrarily big integers without loss of precision. It includes a large list of tools to work with them, like: - Arithmetic and logic operators - Modular-arithmetic operators - Computer Number Theory utilities - Probabilistic primality tests - Factorization algorithms - Random generators of diferent types of integers.

Copy Link

Version

Install

install.packages('VeryLargeIntegers')

Monthly Downloads

229

Version

0.2.1

License

GPL

Maintainer

Javier Cuadrado

Last Published

May 13th, 2023

Functions in VeryLargeIntegers (0.2.1)

24. Random generators

Random Generators of vli Objects
04. Logarithms

Integer Logarithms for vli Objects
01. Basics

Very Large Integers Basics
03. Roots

Integer roots for vli Objects
22. Counting the number of primes

Counting the Number of Primes Up to a Given Bound
19. Finding all primes

Finding All Primes Up to a Given Bound
06. Binomial coefficients

Binomial Coefficients for vli Objects
16. Jacobi Symbol

Computation of the Jacobi Symbol for vli Objects
23. Fibonacci numbers

Fibonacci Numbers Tools for vli Objects
25. Counting 1 bits

Counting the Number of 1-Bits in vli Objects
17. Euler's phi function

Euler's Phi Function for vli Objects
05. Efficent division by a power of 2

Efficient Division by a Power of 2
14. Finding a random divisor

Finding a Random Divisor of a vli Object
02. Arithmetic and logic

Basic Arithmetic and Logical Operators for vli Objects
13. Legrendre's Formula

Legrendre's Formula for vli Objects
21. Pi function

Pi Function Approximation for vli Objects
07. Factorial

Factorial of a vli Object
08. Modular-arithmetic

Basic Modular-Arithmetic Operators for vli Objects
11. Extended Euclidean algorithm

Extended Euclidean Algorithm for vli Objects
09. Greatest common divisor

Greatest Common Divisor for vli Objects
20. Next prime number

Next Prime Number
10. Least common multiple

Least Common Multiple for vli Objects
15. Factorization

Factorization of vli Objects
12. Perfect power

Perfect Power Tools for vli Objects
18. Probabilistic primality tests

Probabilistic Primality Tests for vli Objects