Re: reliably sort?
- To: mathgroup at smc.vnet.net
- Subject: [mg123735] Re: reliably sort?
- From: Shizu <slivo.vitz at msa.hinet.net>
- Date: Sat, 17 Dec 2011 06:04:45 -0500 (EST)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
Search "tutorial/ListsAsSets". Then you can find the tutorial about "lists as sets". When I say {1, 4, 2, 5, 3}, it's a set of the first 5 integers, isn't it? Also in Mathematica, there are some built-in sets like Reals, Integers, Rationals, etc. For example, we can use Element[] to check and see whether a number is rational In[]= Element[1/3, Rationals] Out[]= True