diff src/ov-base-mat.h @ 8994:a8d30dc1beec

cellfun optimizations
author Jaroslav Hajek <highegg@gmail.com>
date Wed, 18 Mar 2009 12:06:46 +0100 (2009-03-18)
parents d865363208d6
children 16a5f9e1fdb3 49affc56fac2
line wrap: on
line diff
--- a/src/ov-base-mat.h
+++ b/src/ov-base-mat.h
@@ -98,6 +98,8 @@
 
   dim_vector dims (void) const { return matrix.dims (); }
 
+  octave_idx_type numel (void) const { return matrix.numel (); }
+
   octave_idx_type nnz (void) const { return matrix.nnz (); }
 
   octave_value reshape (const dim_vector& new_dims) const