diff liboctave/dDiagMatrix.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 82be108cc558
line wrap: on
line diff
--- a/liboctave/dDiagMatrix.h	Fri Mar 21 13:20:11 2008 -0400
+++ b/liboctave/dDiagMatrix.h	Fri Mar 21 00:08:24 2008 +0100
@@ -92,8 +92,7 @@
 
   // other operations
 
-  ColumnVector diag (void) const;
-  ColumnVector diag (octave_idx_type k) const;
+  ColumnVector diag (octave_idx_type k = 0) const;
 
   // i/o