octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #50426] perms() sort order different than Matl


From: Marco Caliari
Subject: [Octave-bug-tracker] [bug #50426] perms() sort order different than Matlab
Date: Thu, 2 Mar 2017 10:23:34 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:51.0) Gecko/20100101 Firefox/51.0

Follow-up Comment #8, bug #50426 (project octave):

Dear Michael,

your perms_new is faster than perms on my 4.0.2


octave:24> tic,perms(1:10);,toc
Elapsed time is 0.281643 seconds.
octave:25> tic,perms_new(1:10);,toc
Elapsed time is 0.168704 seconds.


and seems to give the right ordering. Congratulations. Which algorithm did you
implement? Can you adapt the syle to http://wiki.octave.org/Octave_style_guide
and add proper tests?

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?50426>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]