Mercurial > octave-nkf
comparison src/ov-base-sparse.h @ 5322:22994a5730f9
[project @ 2005-04-29 13:04:24 by dbateman]
author | dbateman |
---|---|
date | Fri, 29 Apr 2005 13:04:25 +0000 |
parents | 4c8a2e4e0717 |
children | 2857357f9d3c |
comparison
equal
deleted
inserted
replaced
5321:84b72a402b86 | 5322:22994a5730f9 |
---|---|
115 { T retval (matrix); retval.resize (dv); return retval; } | 115 { T retval (matrix); retval.resize (dv); return retval; } |
116 | 116 |
117 octave_value all (int dim = 0) const { return matrix.all (dim); } | 117 octave_value all (int dim = 0) const { return matrix.all (dim); } |
118 octave_value any (int dim = 0) const { return matrix.any (dim); } | 118 octave_value any (int dim = 0) const { return matrix.any (dim); } |
119 | 119 |
120 SparseType sparse_type (void) const { return typ; } | |
121 SparseType sparse_type (const SparseType& _typ) | |
122 { SparseType ret = typ; typ = _typ; return ret; } | |
123 | |
120 bool is_matrix_type (void) const { return true; } | 124 bool is_matrix_type (void) const { return true; } |
121 | 125 |
122 bool is_numeric_type (void) const { return true; } | 126 bool is_numeric_type (void) const { return true; } |
123 | 127 |
124 bool is_defined (void) const { return true; } | 128 bool is_defined (void) const { return true; } |