Mercurial > hg > octave-nkf
diff src/ov-base-mat.h @ 7433:402168152bb9
[project @ 2008-01-31 18:59:09 by dbateman]
author | dbateman |
---|---|
date | Thu, 31 Jan 2008 18:59:11 +0000 |
parents | a1dbe9d80eee |
children | 2467639bd8c0 |
line wrap: on
line diff
--- a/src/ov-base-mat.h +++ b/src/ov-base-mat.h @@ -110,6 +110,12 @@ MatrixType matrix_type (const MatrixType& _typ) const { MatrixType ret = typ; typ = _typ; return ret; } + octave_value sort (octave_idx_type dim = 0, sortmode mode = UNDEFINED) const + { return octave_value (matrix.sort (dim, mode)); } + octave_value sort (Array<octave_idx_type> &sidx, octave_idx_type dim = 0, + sortmode mode = UNDEFINED) const + { return octave_value (matrix.sort (sidx, dim, mode)); } + bool is_matrix_type (void) const { return true; } bool is_numeric_type (void) const { return true; }