Mercurial > hg > octave-lyh
diff liboctave/Array2.h @ 3933:f9ea3dcf58ee
[project @ 2002-05-15 03:21:00 by jwe]
author | jwe |
---|---|
date | Wed, 15 May 2002 03:21:01 +0000 |
parents | e8627dc4bdf2 |
children | 6e86256e9c54 |
line wrap: on
line diff
--- a/liboctave/Array2.h +++ b/liboctave/Array2.h @@ -174,16 +174,22 @@ Array2<T> transpose (void) const; #ifdef HEAVYWEIGHT_INDEXING + void maybe_delete_elements (idx_vector& i); void maybe_delete_elements (idx_vector& i, idx_vector& j); Array2<T> value (void); - Array2<T> index (idx_vector& i) const; + Array2<T> index (idx_vector& i, int resize_ok = 0, + const T& rfv = Array<T>::resize_fill_value ()) const; - Array2<T> index (idx_vector& i, idx_vector& j) const; + Array2<T> index (idx_vector& i, idx_vector& j, int resize_ok = 0, + const T& rfv = Array<T>::resize_fill_value ()) const; + #endif + + void print_info (std::ostream& os, const std::string& prefix) const; }; template <class LT, class RT>