Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #7263
| From | Shizu <slivo.vitz@msa.hinet.net> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: Does Union[] reliably sort? |
| Date | 2011-12-16 10:58 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <jcf881$6sr$1@smc.vnet.net> (permalink) |
Mathematically, we don't sort a collection of elements to make it a set. For computational purposes, sorted sets are easier to compare. And Mathematica tries to put an expression (say, a set) into a standard (sorted) form during evaluation. The question of "reliability" depends on what we do with the list. Sets are just a special case of lists in Mathematica. Search "guide/ListManipulation" for functions on lists.
Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread
Re: Does Union[] reliably sort? Shizu <slivo.vitz@msa.hinet.net> - 2011-12-16 10:58 +0000
csiph-web