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

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

[Octave-bug-tracker] [bug #65176] unique.m - Enable third output with op


From: Nicholas Jankowski
Subject: [Octave-bug-tracker] [bug #65176] unique.m - Enable third output with option 'stable'
Date: Wed, 21 Feb 2024 19:35:16 -0500 (EST)

Follow-up Comment #13, bug#65176 (group octave):

ok. figured out how to avoid the sort for k. I realized k is just a mapping of
sorted x, or x(i) back to x, such that x(i)(k) = x.  that can be gotten from k
and i with:


k = i #cheap way to initialize k to the right size
k(i) = 1:n; 

 I'm pretty sure there's something similar that can be done to remove the need
to sort for s, but don't have that yet.



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?65176>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

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