Click or drag to resize

isPrime Class

A static class that helps check numbers for primality.
Inheritance Hierarchy
SystemObject
  NumberStoneisPrime

Namespace:  NumberStone
Assembly:  WhetStone (in WhetStone.dll) Version: 1.0.4.0 (1.0.0.0)
Syntax
C#
public static class isPrime

The isPrime type exposes the following members.

Methods
  NameDescription
Public methodStatic memberIsPrime(Int32, Int32)
Performs a full check as whether a number is prime.
Public methodStatic memberIsPrime(Int64, Int32)
Performs a full check as whether a number is prime.
Public methodStatic memberIsPrimeByList
Get whether a number is prime by checking PrimeList.
Public methodStatic memberisProbablyPrime(Int32, RandomGenerator)
Performs a statistical trial to check for primality.
Public methodStatic memberisProbablyPrime(Int64, RandomGenerator)
Performs a statistical trial to check for primality.
Public methodStatic memberisProbablyPrime(BigInteger, RandomGenerator)
Performs a statistical trial to check for primality.
Public methodStatic memberisProbablyPrime(Int32, Int32, RandomGenerator)
Performs statistic trials to check whether the number is prime.
Public methodStatic memberisProbablyPrime(Int64, Int32, RandomGenerator)
Performs statistic trials to check whether the number is prime.
Public methodStatic memberisProbablyPrime(BigInteger, Int32, RandomGenerator)
Performs statistic trials to check whether the number is prime.
Top
Fields
See Also