Mercurial > octave-nkf
diff liboctave/CSparse.h @ 10421:99e9bae2d81e
improve sparse indexing interface
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Thu, 18 Mar 2010 14:55:52 +0100 |
parents | cbc402e64d83 |
children | ded9beac7582 |
line wrap: on
line diff
--- a/liboctave/CSparse.h Wed Mar 17 09:34:43 2010 -0400 +++ b/liboctave/CSparse.h Thu Mar 18 14:55:52 2010 +0100 @@ -400,11 +400,9 @@ SparseComplexMatrix squeeze (void) const; - SparseComplexMatrix index (idx_vector& i, int resize_ok) const; + SparseComplexMatrix index (const idx_vector& i, bool resize_ok) const; - SparseComplexMatrix index (idx_vector& i, idx_vector& j, int resize_ok) const; - - SparseComplexMatrix index (Array<idx_vector>& ra_idx, int resize_ok) const; + SparseComplexMatrix index (const idx_vector& i, const idx_vector& j, bool resize_ok) const; SparseComplexMatrix reshape (const dim_vector& new_dims) const;