Click or drag to resize

AdvancedIntegerMath.IsPrime Method

Determines whether the given integer is prime.

Namespace:  Meta.Numerics.Functions
Assembly:  Meta.Numerics (in Meta.Numerics.dll) Version: 4.1.4
Syntax
public static bool IsPrime(
	int n
)

Parameters

n
Type: System.Int32
The integer, which must be positive.

Return Value

Type: Boolean
True if the integer is prime, otherwise false.
See Also