|
From: | Michael D Godfrey |
Subject: | Re: stable sorts |
Date: | Sat, 25 Aug 2012 17:21:19 -0400 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120717 Thunderbird/14.0 |
Ben, It is claimed that Matlab at release 2010 switched both sort and sortrows from NOT stable to stable. 2009 is definitely not stable, so your tests om 2010 will be very interesting. It appears that Octave sortrows claims to be stable based on sort is stable(!). So, subject to more checking, it looks like converting sort to stable would be very useful. And, the C++ stable sort could be used. (sort is in src/interpfcn/data.cc and sortrows is in /m/general/sortrows.m). Michael |
[Prev in Thread] | Current Thread | [Next in Thread] |