Mercurial > hg > octave-thorsten
diff src/ov-base-sparse.h @ 8721:e9cb742df9eb
imported patch sort3.diff
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Wed, 11 Feb 2009 15:25:53 +0100 |
parents | d254a21e0120 |
children | 767ed8cc6634 |
line wrap: on
line diff
--- a/src/ov-base-sparse.h +++ b/src/ov-base-sparse.h @@ -126,6 +126,9 @@ sortmode mode = ASCENDING) const { return octave_value (matrix.sort (sidx, dim, mode)); } + sortmode issorted (sortmode mode = UNSORTED) const + { return full_value ().issorted (mode); } + MatrixType matrix_type (void) const { return typ; } MatrixType matrix_type (const MatrixType& _typ) const { MatrixType ret = typ; typ = _typ; return ret; }