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

cellfun optimizations
author Jaroslav Hajek <highegg@gmail.com>
date Wed, 18 Mar 2009 12:06:46 +0100
parents d865363208d6
children 16a5f9e1fdb3 49affc56fac2
comparison
equal deleted inserted replaced
8993:6769599e3458 8994:a8d30dc1beec
96 96
97 void delete_elements (const octave_value_list& idx); 97 void delete_elements (const octave_value_list& idx);
98 98
99 dim_vector dims (void) const { return matrix.dims (); } 99 dim_vector dims (void) const { return matrix.dims (); }
100 100
101 octave_idx_type numel (void) const { return matrix.numel (); }
102
101 octave_idx_type nnz (void) const { return matrix.nnz (); } 103 octave_idx_type nnz (void) const { return matrix.nnz (); }
102 104
103 octave_value reshape (const dim_vector& new_dims) const 105 octave_value reshape (const dim_vector& new_dims) const
104 { return MT (matrix.reshape (new_dims)); } 106 { return MT (matrix.reshape (new_dims)); }
105 107