|
D.2.9.3 subset
Procedure from library redcgs.lib (see redcgs_lib).
- Usage:
- subset(J,K);
(J,K) expected (ideal,ideal)
or (list, list)
- Return:
- 1 if all the elements of J are in K, 0 if not.
Example:
| LIB "redcgs.lib";
list J=list(7,3,2);
list K=list(1,2,3,5,7,8);
subset(J,K);
==> 1
|
|