diff liboctave/boolNDArray.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 1dce30ab0e72
line wrap: on
line diff
--- a/liboctave/boolNDArray.h
+++ b/liboctave/boolNDArray.h
@@ -109,6 +109,8 @@
       return retval;
     }
 
+  boolNDArray diag (octave_idx_type k = 0) const;
+
 private:
 
   boolNDArray (bool *d, dim_vector& dv) : ArrayN<bool> (d, dv) { }