|
D.15.19.7 isSuperset
Procedure from library sets.lib (see sets_lib).
- Return:
- bool, 1 if N is a Superset of M or 0 if not
Example:
| LIB "sets.lib";
list l =1,2;
list j =1,2,3,4;
Set N=l;
Set M=j;
N;
==> {2; 1}
==> Set with 2 elements
==>
M;
==> {4; 3; 2; 1}
==> Set with 4 elements
==>
N>M;
==> 0
M>N;
==> 1
|
|