Re: Q : Lists as sets.
- To: mathgroup at smc.vnet.net
- Subject: [mg7883] Re: Q : Lists as sets.
- From: dreece at atl.mindspring.com (Daryl Reece)
- Date: Thu, 17 Jul 1997 15:35:45 -0400
- Organization: MindSpring Enterprises, Inc.
- Sender: owner-wri-mathgroup at wolfram.com
Why can't you just use the list as is? MMA defines certain set functions that operate on lists. Union, Complement, Intersection Gadi Oron <oron at manet.pmmh.espci.fr> wrote: >Hi there, >I want to use a list as a mathematical set. How can I do that? (Nothing in >the MMA book). >I found one (not elegant) way to do it : Allways do set=Union[list] but >that is really ugly. >Any ideas? >Thanx. >/\/\/\/\/\/\/\/\/\/\/\/>> Gadi ORON <<\/\/\/\/\/\/\/\/\/\/\/\/\ >| EMAIL : oron at pmmh.espci.fr :::: oron at clipper.ens.fr | >| Homepage : http://pmmh.espci.fr/~oron/personal.html | >| fido : 2:325/302.8 | >| Soyez braves - be brave. | >/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/