Mercurial > hg > octave-nkf
comparison 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 |
comparison
equal
deleted
inserted
replaced
7432:3c999b2b5de8 | 7433:402168152bb9 |
---|---|
108 | 108 |
109 MatrixType matrix_type (void) const { return typ; } | 109 MatrixType matrix_type (void) const { return typ; } |
110 MatrixType matrix_type (const MatrixType& _typ) const | 110 MatrixType matrix_type (const MatrixType& _typ) const |
111 { MatrixType ret = typ; typ = _typ; return ret; } | 111 { MatrixType ret = typ; typ = _typ; return ret; } |
112 | 112 |
113 octave_value sort (octave_idx_type dim = 0, sortmode mode = UNDEFINED) const | |
114 { return octave_value (matrix.sort (dim, mode)); } | |
115 octave_value sort (Array<octave_idx_type> &sidx, octave_idx_type dim = 0, | |
116 sortmode mode = UNDEFINED) const | |
117 { return octave_value (matrix.sort (sidx, dim, mode)); } | |
118 | |
113 bool is_matrix_type (void) const { return true; } | 119 bool is_matrix_type (void) const { return true; } |
114 | 120 |
115 bool is_numeric_type (void) const { return true; } | 121 bool is_numeric_type (void) const { return true; } |
116 | 122 |
117 bool is_defined (void) const { return true; } | 123 bool is_defined (void) const { return true; } |