<< NARVAL_F_Random_i_j NARVAL NARVAL_F_RemovIndex >>

NARVAL >> NARVAL > NARVAL_F_Remov

NARVAL_F_Remov

Remove a value from a vector if it is only present a single time.

Calling Sequence

[v] = NARVAL_F_Remov(v,vl)

Parameters

v :

vector of values.

vl :

value.

Description

NARVAL_F_Remov removes the value vl from the vector v if it is only present a single time.

Examples

v=[1 2 3 4 5];//vector
vl=3;//value
[v]=NARVAL_F_Remov(v,vl);//application of NARVAL_F_Remov
vl
v
v=[1 2 3 4 3 5];//vector
vl=3;
[v]=NARVAL_F_Remov(v,vl);//application of NARVAL_F_Remov
vl
v

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_j NARVAL NARVAL_F_RemovIndex >>