[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: sort index ordering
From: |
Francesco Potorti` |
Subject: |
Re: sort index ordering |
Date: |
Mon, 08 May 2000 10:34:08 +0200 |
"John W. Eaton" <address@hidden>:
Yes, I want Octave's sort algorithm to be stable, which is why Octave
uses algorithm 5.2.4L from Knuth, Volume 3 (noted in the comments for
sort.cc) instead of something quick and simple like qsort from the C
library, which is not guaranteed to be stable.
I think that this feature of the sort algorithm should be documented in
the manual.
--
Francesco Potortì (researcher) Voice: +39 050 315 3058 (op.2111)
Area della ricerca CNR - CNUCE Fax: +39 050 3138091
via Vittorio Alfieri 1 Email: address@hidden
I-56010 Ghezzano, Pisa Web: http://fly.cnuce.cnr.it/
-----------------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.che.wisc.edu/octave/octave.html
How to fund new projects: http://www.che.wisc.edu/octave/funding.html
Subscription information: http://www.che.wisc.edu/octave/archive.html
-----------------------------------------------------------------------