Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #7619
| From | danl@wolfram.com |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: Default sort of vector is by "complexity" of expression!!????? |
| Date | 2012-01-07 10:18 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <je965u$itf$1@smc.vnet.net> (permalink) |
| References | <je6e4i$q73$1@smc.vnet.net> |
One has to have some default ordering. The relevant criterion in the reference page for Sort states "Sort usually orders expressions by putting shorter ones first, and then comparing parts in a depth-first manner." As best I recall, it checks length and goes to subparts in case of tie. I see nothing particularly bad about this default ordering, I might add. In particular I do not know what badness the example provided is meant to convey. Daniel Lichtblau Wolfram Research
Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Default sort of vector is by "complexity" of expression!!????? Chris Young <cy56@comcast.net> - 2012-01-06 09:16 +0000 Re: Default sort of vector is by "complexity" of expression!!????? danl@wolfram.com - 2012-01-07 10:18 +0000 Re: Default sort of vector is by "complexity" of expression!!????? "Sjoerd C. de Vries" <sjoerd.c.devries@gmail.com> - 2012-01-07 10:24 +0000
csiph-web