Mercurial > hg > octave-nkf
diff liboctave/Array.h @ 4703:72c28fd651c4
[project @ 2004-01-22 00:01:09 by jwe]
author | jwe |
---|---|
date | Thu, 22 Jan 2004 00:01:09 +0000 |
parents | 87c01a296263 |
children | bec345670e56 |
line wrap: on
line diff
--- a/liboctave/Array.h +++ b/liboctave/Array.h @@ -248,7 +248,10 @@ dim_vector dims (void) const { return dimensions; } Array<T> squeeze (void) const; - + + void chop_trailing_singletons (void) + { dimensions.chop_trailing_singletons (); } + static int get_size (int r, int c); static int get_size (int r, int c, int p); static int get_size (const dim_vector& dv);