[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #45739] sort 'descend' together with vectors c
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #45739] sort 'descend' together with vectors created with the colon operator |
Date: |
Wed, 12 Aug 2015 15:26:58 +0000 |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0 |
Follow-up Comment #6, bug #45739 (project octave):
Ranges are a special Octave feature that are very space efficient. However,
they can be disabled so that a range is stored as a matrix of values just as
Matlab does. Try 'help disable_range' to see the documentation on the
function. For the time being, you might choose to add 'disable_range (true)'
to your .octaverc file so that Octave always treats ranges as matrices.
The fix is likely to be in liboctave/array/Range.[h|cc]. Currently, when you
create a range with something like 1:3:10, Octave stores the base (1), the
limit (10), and the increment (3). When you ask for the values of a range
they are constructed on the fly from these three values. It seems to me that
the easiest thing to do would be to change the constructor for the Range class
so the limit was always an actual value within the range itself.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?45739>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #45739] sort 'descend' together with vectors created with the colon operator, Dieter Schmidt, 2015/08/12
- [Octave-bug-tracker] [bug #45739] sort 'descend' together with vectors created with the colon operator, Juan Pablo Carbajal, 2015/08/12
- [Octave-bug-tracker] [bug #45739] sort 'descend' together with vectors created with the colon operator, Juan Pablo Carbajal, 2015/08/12
- [Octave-bug-tracker] [bug #45739] sort 'descend' together with vectors created with the colon operator, Michael Godfrey, 2015/08/12
- [Octave-bug-tracker] [bug #45739] sort 'descend' together with vectors created with the colon operator, Dieter Schmidt, 2015/08/12
- [Octave-bug-tracker] [bug #45739] sort 'descend' together with vectors created with the colon operator, Michael Godfrey, 2015/08/12
- [Octave-bug-tracker] [bug #45739] sort 'descend' together with vectors created with the colon operator,
Rik <=
- [Octave-bug-tracker] [bug #45739] sort 'descend' together with vectors created with the colon operator, Michael Godfrey, 2015/08/12
- [Octave-bug-tracker] [bug #45739] sort 'descend' together with vectors created with the colon operator, Michael Godfrey, 2015/08/13
- [Octave-bug-tracker] [bug #45739] sort 'descend' together with vectors created with the colon operator, Rik, 2015/08/13
- [Octave-bug-tracker] [bug #45739] sort 'descend' together with vectors created with the colon operator, Michael Godfrey, 2015/08/13
- [Octave-bug-tracker] [bug #45739] sort 'descend' together with vectors created with the colon operator, Rik, 2015/08/13
- [Octave-bug-tracker] [bug #45739] sort 'descend' together with vectors created with the colon operator, Dieter Schmidt, 2015/08/13
- [Octave-bug-tracker] [bug #45739] sort 'descend' together with vectors created with the colon operator, Lachlan Andrew, 2015/08/13
- [Octave-bug-tracker] [bug #45739] sort 'descend' together with vectors created with the colon operator, Michael Godfrey, 2015/08/14
- [Octave-bug-tracker] [bug #45739] sort 'descend' together with vectors created with the colon operator, Michael Godfrey, 2015/08/14
- [Octave-bug-tracker] [bug #45739] sort 'descend' together with vectors created with the colon operator, John W. Eaton, 2015/08/19