|
From: | Michael Godfrey |
Subject: | [Octave-bug-tracker] [bug #45739] sort 'descend' together with vectors created with the colon operator |
Date: | Fri, 14 Aug 2015 11:18:57 +0000 |
User-agent: | Mozilla/5.0 (X11; Fedora; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2478.0 Safari/537.36 |
Follow-up Comment #15, bug #45739 (project octave): Rik: Did you notice this in: https://www.gnu.org/software/octave/doc/interpreter/Ranges.html Note that the upper (or lower, if the increment is negative) bound on the range is not always included in the set of values, and that ranges defined by floating point values can produce surprising results because Octave uses floating point arithmetic to compute the values in the range. If it is important to include the endpoints of a range and the number of elements is known, you should use the linspace function instead (see Special Utility Matrices). _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?45739> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |