comparison src/ov-base-mat.h @ 4593:77566be8b9e9

[project @ 2003-11-11 17:25:42 by jwe]
author jwe
date Tue, 11 Nov 2003 17:25:42 +0000
parents fc30061d01da
children cba347c642e2
comparison
equal deleted inserted replaced
4592:a97b498e1b32 4593:77566be8b9e9
93 dim_vector dims (void) const { return matrix.dims (); } 93 dim_vector dims (void) const { return matrix.dims (); }
94 94
95 octave_value reshape (const dim_vector& new_dims) const 95 octave_value reshape (const dim_vector& new_dims) const
96 { return MT (matrix.reshape (new_dims)); } 96 { return MT (matrix.reshape (new_dims)); }
97 97
98 octave_value permute (const Array<int>& vec, bool inv = false) const
99 { return MT (matrix.permute (vec, inv)); }
100
98 octave_value all (int dim = 0) const { return matrix.all (dim); } 101 octave_value all (int dim = 0) const { return matrix.all (dim); }
99 octave_value any (int dim = 0) const { return matrix.any (dim); } 102 octave_value any (int dim = 0) const { return matrix.any (dim); }
100 103
101 bool is_matrix_type (void) const { return true; } 104 bool is_matrix_type (void) const { return true; }
102 105