diff liboctave/intNDArray.h @ 6979:2883ea1c5c18

[project @ 2007-10-08 20:23:48 by dbateman]
author dbateman
date Mon, 08 Oct 2007 20:26:01 +0000
parents 4289ed95dde8
children 93c65f2a5668
line wrap: on
line diff
--- a/liboctave/intNDArray.h
+++ b/liboctave/intNDArray.h
@@ -66,6 +66,9 @@
 
   bool any_element_not_one_or_zero (void) const;
 
+  intNDArray diag (void) const;
+  intNDArray diag (octave_idx_type k) const;
+
   // FIXME -- this is not quite the right thing.
 
   boolNDArray all (int dim = -1) const;