Mercurial > hg > octave-nkf
diff liboctave/Array-util.h @ 7642:9a4541c622b5
refactor Array::assignN dimensioning code for empty initial matrices
author | David Bateman <dbateman@free.fr> |
---|---|
date | Tue, 25 Mar 2008 23:06:45 -0400 |
parents | f81e80674b9b |
children | 935be827eaf8 72830070a17b |
line wrap: on
line diff
--- a/liboctave/Array-util.h +++ b/liboctave/Array-util.h @@ -43,6 +43,8 @@ extern OCTAVE_API bool is_scalar (const dim_vector& dim); +extern OCTAVE_API bool is_vector (const dim_vector& dim); + extern OCTAVE_API bool any_ones (const Array<octave_idx_type>& arr); extern OCTAVE_API octave_idx_type compute_index (const Array<octave_idx_type>& ra_idx, const dim_vector& dims);