Mercurial > hg > octave-nkf
diff src/ov.h @ 4554:78e34346f6fd
[project @ 2003-10-27 22:01:49 by jwe]
author | jwe |
---|---|
date | Mon, 27 Oct 2003 22:01:49 +0000 |
parents | 69a9b22a72a2 |
children | 802818bfac91 |
line wrap: on
line diff
--- a/src/ov.h +++ b/src/ov.h @@ -328,6 +328,9 @@ virtual int length (void) const { return rep->length (); } + virtual int ndims (void) const + { return rep->ndims (); } + // Does this constant have a type? Both of these are provided since // it is sometimes more natural to write is_undefined() instead of // ! is_defined().