|
From: | Michael D Godfrey |
Subject: | Re: stable sorts |
Date: | Sat, 25 Aug 2012 20:18:55 -0400 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120717 Thunderbird/14.0 |
On 08/25/2012 08:00 PM, Ben Abbott
wrote:
Ben,I think the confusion is about how I fixed the bug. I didn't use sort (x, "descend"). Sorry for the confusion. I now understand what you did. The problem was not the sort stability: it was the right vs. left discontinuity. So, it is true that both Octave and Matlab sorts are stable (Matlab was not in the past...) One remaining question: Does matlab 2010 have the functions: visort, vqsort or vrsort? Sorry for the noise. Michael |
[Prev in Thread] | Current Thread | [Next in Thread] |