diff src/Cell.h @ 7618:3209a584e1ac

Further type preservation tests and fix of diag for cell arrays
author David Bateman <dbateman@free.fr>
date Thu, 20 Mar 2008 20:54:19 +0100
parents bb0f2353cff5
children 36594d5bbe13
line wrap: on
line diff
--- a/src/Cell.h	Thu Mar 20 17:00:15 2008 +0100
+++ b/src/Cell.h	Thu Mar 20 20:54:19 2008 +0100
@@ -115,6 +115,9 @@
 
   static octave_value resize_fill_value (void) { return Matrix (); }
 
+  Cell diag (void) const;
+  Cell diag (octave_idx_type k) const;
+
   Cell xisalnum (void) const { return map (&octave_value::xisalnum); }
   Cell xisalpha (void) const { return map (&octave_value::xisalpha); }
   Cell xisascii (void) const { return map (&octave_value::xisascii); }