|
From: | Carnë Draug |
Subject: | [Octave-patch-tracker] [patch #8812] Added imquantize to image toolset |
Date: | Tue, 01 Dec 2015 17:03:01 +0000 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0 Iceweasel/38.4.0 |
Follow-up Comment #4, patch #8812 (project octave): It seems to me that this function could be reduced to one line by making use of lookup() ? Example: octave > lookup ([1 5 9], 1:10) ans = 1 1 1 1 2 2 2 2 3 3 _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/patch/?8812> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |