Mercurial > hg > octave-nkf
comparison 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 |
comparison
equal
deleted
inserted
replaced
7641:115563ecbdc9 | 7642:9a4541c622b5 |
---|---|
40 extern OCTAVE_API octave_idx_type get_scalar_idx (Array<octave_idx_type>& idx, dim_vector& dims); | 40 extern OCTAVE_API octave_idx_type get_scalar_idx (Array<octave_idx_type>& idx, dim_vector& dims); |
41 | 41 |
42 extern OCTAVE_API octave_idx_type num_ones (const Array<octave_idx_type>& ra_idx); | 42 extern OCTAVE_API octave_idx_type num_ones (const Array<octave_idx_type>& ra_idx); |
43 | 43 |
44 extern OCTAVE_API bool is_scalar (const dim_vector& dim); | 44 extern OCTAVE_API bool is_scalar (const dim_vector& dim); |
45 | |
46 extern OCTAVE_API bool is_vector (const dim_vector& dim); | |
45 | 47 |
46 extern OCTAVE_API bool any_ones (const Array<octave_idx_type>& arr); | 48 extern OCTAVE_API bool any_ones (const Array<octave_idx_type>& arr); |
47 | 49 |
48 extern OCTAVE_API octave_idx_type compute_index (const Array<octave_idx_type>& ra_idx, const dim_vector& dims); | 50 extern OCTAVE_API octave_idx_type compute_index (const Array<octave_idx_type>& ra_idx, const dim_vector& dims); |
49 | 51 |