Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #7263 > unrolled thread
| Started by | Shizu <slivo.vitz@msa.hinet.net> |
|---|---|
| First post | 2011-12-16 10:58 +0000 |
| Last post | 2011-12-16 10:58 +0000 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.soft-sys.math.mathematica
Re: Does Union[] reliably sort? Shizu <slivo.vitz@msa.hinet.net> - 2011-12-16 10:58 +0000
| From | Shizu <slivo.vitz@msa.hinet.net> |
|---|---|
| Date | 2011-12-16 10:58 +0000 |
| Subject | Re: Does Union[] reliably sort? |
| Message-ID | <jcf881$6sr$1@smc.vnet.net> |
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 top | Article view | comp.soft-sys.math.mathematica
csiph-web