Mercurial > octave-nkf
diff src/Cell.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 | 3209a584e1ac |
children | 977d5204cf67 |
line wrap: on
line diff
--- a/src/Cell.h Fri Mar 21 13:20:11 2008 -0400 +++ b/src/Cell.h Fri Mar 21 00:08:24 2008 +0100 @@ -115,8 +115,7 @@ static octave_value resize_fill_value (void) { return Matrix (); } - Cell diag (void) const; - Cell diag (octave_idx_type k) const; + Cell diag (octave_idx_type k = 0) const; Cell xisalnum (void) const { return map (&octave_value::xisalnum); } Cell xisalpha (void) const { return map (&octave_value::xisalpha); }