CoCoA:EqSet

From ApCoCoAWiki
Revision as of 10:02, 24 October 2007 by XMLBot (talk | contribs) (pushing XML rev. 1.46, again)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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>