Mercurial > octave-nkf
comparison liboctave/boolSparse.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 |
comparison
equal
deleted
inserted
replaced
10420:3373fdc0b14a | 10421:99e9bae2d81e |
---|---|
92 | 92 |
93 boolMatrix matrix_value (void) const; | 93 boolMatrix matrix_value (void) const; |
94 | 94 |
95 SparseBoolMatrix squeeze (void) const; | 95 SparseBoolMatrix squeeze (void) const; |
96 | 96 |
97 SparseBoolMatrix index (idx_vector& i, int resize_ok) const; | 97 SparseBoolMatrix index (const idx_vector& i, bool resize_ok) const; |
98 | 98 |
99 SparseBoolMatrix index (idx_vector& i, idx_vector& j, int resize_ok) const; | 99 SparseBoolMatrix index (const idx_vector& i, const idx_vector& j, bool resize_ok) const; |
100 | |
101 SparseBoolMatrix index (Array<idx_vector>& ra_idx, int resize_ok) const; | |
102 | 100 |
103 SparseBoolMatrix reshape (const dim_vector& new_dims) const; | 101 SparseBoolMatrix reshape (const dim_vector& new_dims) const; |
104 | 102 |
105 SparseBoolMatrix permute (const Array<octave_idx_type>& vec, bool inv = false) const; | 103 SparseBoolMatrix permute (const Array<octave_idx_type>& vec, bool inv = false) const; |
106 | 104 |