primes: Generate and Test for Prime Numbers

Share:

Functions to test whether a number is prime and generate the prime numbers within a specified range. Based around an implementation of Wilson's theorem for testing for an integer's primality.

Author
Oliver Keyes
Date of publication
2015-06-22 19:53:27
Maintainer
Oliver Keyes <ironholds@gmail.com>
License
MIT + file LICENSE
Version
0.1.0

View on CRAN

Man pages

prime
Generate and Test for Prime Numbers
primes
Functions for Identifying and Generating Prime Numbers

Files in this package

primes
primes/tests
primes/tests/testthat.R
primes/tests/testthat
primes/tests/testthat/test_primality.R
primes/src
primes/src/primes.cpp
primes/src/RcppExports.cpp
primes/NAMESPACE
primes/R
primes/R/primes.R
primes/R/RcppExports.R
primes/README.md
primes/MD5
primes/DESCRIPTION
primes/man
primes/man/prime.Rd
primes/man/primes.Rd
primes/LICENSE