diff liboctave/dNDArray.h @ 7620:36594d5bbe13

Move diag function into the octave_value class
author David Bateman <dbateman@free.fr>
date Fri, 21 Mar 2008 00:08:24 +0100
parents 8c32f95c2639
children 82be108cc558
line wrap: on
line diff
--- a/liboctave/dNDArray.h
+++ b/liboctave/dNDArray.h
@@ -124,6 +124,8 @@
 
   static double resize_fill_value (void) { return 0; }
 
+  NDArray diag (octave_idx_type k = 0) const;
+
   typedef double (*dmapper) (double);
   typedef Complex (*cmapper) (const Complex&);
   typedef bool (*bmapper) (double);