Mercurial > hg > octave-nkf
diff src/ov-range.h @ 8734:767ed8cc6634
rename internal issorted and issorted_rows functions to is_sorted and is_sorted_rows
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 12 Feb 2009 15:29:12 -0500 |
parents | 3ef774603887 |
children | eb63fbe60fab |
line wrap: on
line diff
--- a/src/ov-range.h +++ b/src/ov-range.h @@ -140,13 +140,13 @@ sortmode mode = ASCENDING) const { return range.sort (sidx, dim, mode); } - sortmode issorted (sortmode mode = UNSORTED) const + sortmode is_sorted (sortmode mode = UNSORTED) const { return range.is_sorted (mode); } Array<octave_idx_type> sort_rows_idx (sortmode) const { return Array<octave_idx_type> (1, 0); } - sortmode issorted_rows (sortmode mode = UNSORTED) const + sortmode is_sorted_rows (sortmode mode = UNSORTED) const { return mode ? mode : ASCENDING; } bool is_real_type (void) const { return true; }