diff liboctave/chMatrix.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 a1dbe9d80eee
children 7cbe01c21986
line wrap: on
line diff
--- a/liboctave/chMatrix.h
+++ b/liboctave/chMatrix.h
@@ -73,8 +73,7 @@
 
   charMatrix extract (octave_idx_type r1, octave_idx_type c1, octave_idx_type r2, octave_idx_type c2) const;
 
-  charMatrix diag (void) const;
-  charMatrix diag (octave_idx_type k) const;
+  charMatrix diag (octave_idx_type k = 0) const;
 
   boolMatrix all (int dim = -1) const;
   boolMatrix any (int dim = -1) const;