Mercurial > octave-nkf
diff src/ov-struct.h @ 7046:fbf8576cf399
[project @ 2007-10-22 12:12:20 by dbateman]
author | dbateman |
---|---|
date | Mon, 22 Oct 2007 12:12:20 +0000 |
parents | a1dbe9d80eee |
children | 745a8299c2b5 |
line wrap: on
line diff
--- a/src/ov-struct.h Mon Oct 22 11:52:39 2007 +0000 +++ b/src/ov-struct.h Mon Oct 22 12:12:20 2007 +0000 @@ -83,6 +83,14 @@ const std::list<octave_value_list>& idx, const octave_value& rhs); + octave_value squeeze (void) const { return map.squeeze (); } + + octave_value permute (const Array<int>& vec, bool inv = false) const + { return map.permute (vec, inv); } + + octave_value do_index_op (const octave_value_list& idx, + bool resize_ok = false); + dim_vector dims (void) const { return map.dims (); } size_t byte_size (void) const;