1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
-- |
-- Module: Math.NumberTheory.Primes.Testing
-- Copyright: (c) 2011 Daniel Fischer
-- Licence: MIT
-- Maintainer: Daniel Fischer <daniel.is.fischer@googlemail.com>
--
-- Primality tests.
module Math.NumberTheory.Primes.Testing
( -- * Standard tests
isPrime
, isCertifiedPrime
-- * Partial tests
, bailliePSW
, millerRabinV
, isStrongFermatPP
, isFermatPP
-- * Trial division
, trialDivisionPrimeTo
) where
import Math.NumberTheory.Primes.Testing.Probabilistic
import Math.NumberTheory.Primes.Testing.Certified
import Math.NumberTheory.Primes.Factorisation.TrialDivision
|