<< NARVAL_F_Random_i NARVAL NARVAL_F_Remov >>

NARVAL >> NARVAL > NARVAL_F_Random_i_j

NARVAL_F_Random_i_j

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

Calling Sequence

[i,j] = NARVAL_F_Random_i_j(n)

Parameters

n :

maximal value.

i :

random integer value.

j :

random integer value different from i.

Description

NARVAL_F_Random_i_j generates a couple of two distinct integers i and j bounded by the given threshold n. Values belong to [1 .. n].

Examples

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

Dependency

Authors

Foued Melakessou

Contact

Dr. Foued Melakessou

Research Associate

Interdisciplinary Centre for Security, Reliability and Trust

Room F106

University of Luxembourg

6, rue Coudenhove Kalergi

L-1359 Luxembourg-Kirchberg

E-mail: foued.melakessou@uni.lu

Tel: (+352) 46 66 44 5346

Home Page


<< NARVAL_F_Random_i NARVAL NARVAL_F_Remov >>