<< NL_S_ISULMap NL_S: Security NL_S_RSADecryption >>

NARVAL >> NL_S: Security > NL_S_Prime

NL_S_Prime

Perform the primality test on an integer.

Calling Sequence

[B] = NL_S_Prime(N)

Arguments

N :

Integer.

B :

Boolean.

Description

NL_S_Prime performs the primality test on the integer N. If N is a prime integer, then B=%T. Else B=%F.

Examples

n=10;//integer
[b]=NL_S_Prime(n)//application of NL_S_Prime
n=13;//integer
[b]=NL_S_Prime(n)//application of NL_S_Prime

Report an issue
<< NL_S_ISULMap NL_S: Security NL_S_RSADecryption >>