|
D.4.5.14 compareLists
Procedure from library ehv.lib (see ehv_lib).
- Usage:
- checkLists(L,K); L,K list of ideals
- Return:
- integer, 1 if the lists are the same up to ordering and 0 otherwise
Example:
| LIB "ehv.lib";
ring r = 0,(x,y),dp;
ideal i = x2,xy;
list L1 = primdecGTZ(i);
list L2 = primdecEHV(i);
compareLists(L1,L2);
==> 1
|
|