CoCoA:EqSet

From ApCoCoAWiki

EqSet

checks if the set of elements in two lists are equal

Description

This function returns TRUE if L equals M as sets, otherwise it

returns FALSE.

Example

  L := [1,2,2];
  M := [2,1];
  EqSet(L,M);
TRUE
-------------------------------

Syntax

EqSet(L:LIST,M:LIST):BOOL

Intersection

IntersectionList

IsSubset

   <type>boolean</type>
   <type>list</type>