<< NL_F_RandIntJifI NL_F: Function NL_F_RandIntNiNjNf >>

NARVAL >> NL_F: Function > NL_F_RandIntNiNj

NL_F_RandIntNiNj

Generate a couple of two distinct integer values bounded by a threshold.

Calling Sequence

[I,J] = NL_F_RandIntNiNj(N)

Arguments

N :

Threshold.

I :

Random integer value.

J :

Random integer value different from I.

Description

NL_F_RandNiNj generates the couple of two distinct integers , with .

Examples

n=100;//maximum value
//range [1 .. n]
[i,j]=NL_F_RandIntNiNj(n)//application of NL_F_RandIntNiNj

Dependency

NL_F_RandInt1n

Report an issue
<< NL_F_RandIntJifI NL_F: Function NL_F_RandIntNiNjNf >>