Mercurial > hg > octave-nkf
diff src/utils.h @ 9705:5acd99c3e794
avoid recursive overloaded calls in builtin numel
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Thu, 08 Oct 2009 08:03:59 +0200 |
parents | d865363208d6 |
children | f349847c4541 |
line wrap: on
line diff
--- a/src/utils.h +++ b/src/utils.h @@ -92,6 +92,11 @@ get_dimensions (const octave_value& a,const char *warn_for, octave_idx_type& nr, octave_idx_type& nc); +extern OCTINTERP_API octave_idx_type +dims_to_numel (const dim_vector& dims, const octave_value_list& idx); + + + extern OCTINTERP_API Matrix identity_matrix (octave_idx_type nr, octave_idx_type nc);