Mercurial > hg > octave-lyh
diff src/ov-struct.h @ 4563:742993a501b9
[project @ 2003-10-29 06:25:12 by jwe]
author | jwe |
---|---|
date | Wed, 29 Oct 2003 06:25:12 +0000 |
parents | 508238e65af7 |
children | fc30061d01da |
line wrap: on
line diff
--- a/src/ov-struct.h +++ b/src/ov-struct.h @@ -87,17 +87,7 @@ const std::list<octave_value_list>& idx, const octave_value& rhs); - int rows (void) const { return map.rows (); } - - int columns (void) const { return map.columns (); } - - int length (void) const - { - int r = rows (); - int c = columns (); - - return (r == 0 || c == 0) ? 0 : ((r > c) ? r : c); - } + dim_vector dims (void) const { return map.dims (); } bool is_defined (void) const { return true; }