Mercurial > octave-nkf
diff liboctave/chNDArray.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/chNDArray.h Fri Mar 21 13:20:11 2008 -0400 +++ b/liboctave/chNDArray.h Fri Mar 21 00:08:24 2008 +0100 @@ -89,6 +89,8 @@ static char resize_fill_value (void) { return '\0'; } + charNDArray diag (octave_idx_type k = 0) const; + typedef int (*mapper) (int); boolNDArray bmap (mapper fcn) const; NDArray dmap (mapper fcn) const;