diff liboctave/CNDArray.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/CNDArray.h
+++ b/liboctave/CNDArray.h
@@ -116,6 +116,8 @@
   //  bool all_elements_are_real (void) const;
   //  bool all_integers (double& max_val, double& min_val) const;
 
+  ComplexNDArray diag (octave_idx_type k = 0) const;
+
   typedef double (*dmapper) (const Complex&);
   typedef Complex (*cmapper) (const Complex&);
   typedef bool (*bmapper) (const Complex&);