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	Tue Mar 25 21:36:58 2008 -0400
+++ b/liboctave/Array-util.h	Tue Mar 25 23:06:45 2008 -0400
@@ -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);