diff src/ov-base-mat.h @ 4567:fc30061d01da

[project @ 2003-10-29 20:11:15 by jwe]
author jwe
date Wed, 29 Oct 2003 20:11:16 +0000
parents 742993a501b9
children 77566be8b9e9
line wrap: on
line diff
--- a/src/ov-base-mat.h	Wed Oct 29 15:06:29 2003 +0000
+++ b/src/ov-base-mat.h	Wed Oct 29 20:11:16 2003 +0000
@@ -92,6 +92,9 @@
 
   dim_vector dims (void) const { return matrix.dims (); }
 
+  octave_value reshape (const dim_vector& new_dims) const
+    { return MT (matrix.reshape (new_dims)); }
+
   octave_value all (int dim = 0) const { return matrix.all (dim); }
   octave_value any (int dim = 0) const { return matrix.any (dim); }