comparison liboctave/ChangeLog @ 7458:1032e24f199f

make sort work for ranges
author John W. Eaton <jwe@octave.org>
date Thu, 07 Feb 2008 22:36:11 -0500
parents aab45fbcd71f
children 2467639bd8c0
comparison
equal deleted inserted replaced
7457:aab45fbcd71f 7458:1032e24f199f
1 2008-02-07 John W. Eaton <jwe@octave.org> 1 2008-02-07 John W. Eaton <jwe@octave.org>
2
3 * Range.cc (Range::sort_internal): Rename from sort. New arg,
4 ASCENDING, with default value of true.
5 (Range::sort_internal (Array<octave_idx_type>&, bool)): New function.
6 (Range::sort (octave_idx_type, sortmode) const): New function.
7 (Range::sort (Array<octave_idx_type>&, octave_idx_type, sortmode)
8 const): New function.
9 * Range.h: Fix/provide decls.
2 10
3 * intNDArray.cc (intNDArray<T>::any (int)): Use != for comparison. 11 * intNDArray.cc (intNDArray<T>::any (int)): Use != for comparison.
4 12
5 2008-02-06 John W. Eaton <jwe@octave.org> 13 2008-02-06 John W. Eaton <jwe@octave.org>
6 14