Difference between revisions of "CoCoA:EqSet"

From ApCoCoAWiki
(pushing XML rev. 1.46, again)
 
(No difference)

Latest revision as of 10:02, 24 October 2007

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>