#include "boolSparse.h"
Public Types | |
| typedef boolMatrix | dense_matrix_type |
Public Types inherited from Sparse< bool > | |
| typedef bool | element_type |
Friends | |
| std::ostream & | operator<< (std::ostream &os, const SparseBoolMatrix &a) |
| std::istream & | operator>> (std::istream &is, SparseBoolMatrix &a) |
Additional Inherited Members | |
Static Public Member Functions inherited from Sparse< bool > | |
| static Sparse< bool, Alloc > | cat (int dim, octave_idx_type n, const Sparse< bool, Alloc > *sparse_list) |
Protected Member Functions inherited from Sparse< bool > | |
| void | make_unique () |
Protected Attributes inherited from Sparse< bool > | |
| dim_vector | m_dimensions |
| Sparse< bool, Alloc >::SparseRep * | m_rep |
Definition at line 38 of file boolSparse.h.
Definition at line 43 of file boolSparse.h.
|
inline |
Definition at line 45 of file boolSparse.h.
|
inline |
Definition at line 47 of file boolSparse.h.
|
inlineexplicit |
Definition at line 50 of file boolSparse.h.
|
inline |
Definition at line 53 of file boolSparse.h.
Definition at line 56 of file boolSparse.h.
|
inline |
Definition at line 58 of file boolSparse.h.
|
inline |
Definition at line 60 of file boolSparse.h.
|
inlineexplicit |
Definition at line 63 of file boolSparse.h.
|
inlineexplicit |
Definition at line 65 of file boolSparse.h.
|
inlineexplicit |
Definition at line 67 of file boolSparse.h.
|
inline |
Definition at line 69 of file boolSparse.h.
|
inline |
Definition at line 75 of file boolSparse.h.
|
default |
| SparseBoolMatrix SparseBoolMatrix::all | ( | int | dim = -1 | ) | const |
Definition at line 140 of file boolSparse.cc.
References SPARSE_ALL_OP.
Referenced by octave_base_sparse< SparseBoolMatrix >::edit_display(), and Fprod().
| SparseBoolMatrix SparseBoolMatrix::any | ( | int | dim = -1 | ) | const |
Definition at line 146 of file boolSparse.cc.
References Sparse< T, Alloc >::change_capacity(), Sparse< bool >::cidx(), Sparse< bool >::cols(), Sparse< T, Alloc >::data(), Sparse< bool >::nnz(), Sparse< bool >::ridx(), Sparse< T, Alloc >::ridx(), Sparse< bool >::rows(), Array< T, Alloc >::rwdata(), Sparse< T, Alloc >::xcidx(), and Array< T, Alloc >::xelem().
Referenced by Fsum().
| SparseBoolMatrix SparseBoolMatrix::concat | ( | const SparseBoolMatrix & | rb, |
| const Array< octave_idx_type > & | ra_idx | ||
| ) |
Definition at line 93 of file boolSparse.cc.
References Sparse< T, Alloc >::cols(), insert(), ra_idx, and Sparse< T, Alloc >::rows().
| SparseBoolMatrix SparseBoolMatrix::diag | ( | octave_idx_type | k = 0 | ) | const |
Definition at line 242 of file boolSparse.cc.
References Sparse< T, Alloc >::diag().
| SparseBoolMatrix SparseBoolMatrix::index | ( | const octave::idx_vector & | i, |
| bool | resize_ok | ||
| ) | const |
Definition at line 293 of file boolSparse.cc.
References Sparse< T, Alloc >::index().
| SparseBoolMatrix SparseBoolMatrix::index | ( | const octave::idx_vector & | i, |
| const octave::idx_vector & | j, | ||
| bool | resize_ok | ||
| ) | const |
Definition at line 299 of file boolSparse.cc.
References Sparse< T, Alloc >::index().
| SparseBoolMatrix & SparseBoolMatrix::insert | ( | const SparseBoolMatrix & | a, |
| const Array< octave_idx_type > & | indx | ||
| ) |
Definition at line 85 of file boolSparse.cc.
References Sparse< T, Alloc >::insert().
| SparseBoolMatrix & SparseBoolMatrix::insert | ( | const SparseBoolMatrix & | a, |
| octave_idx_type | r, | ||
| octave_idx_type | c | ||
| ) |
Definition at line 77 of file boolSparse.cc.
References Sparse< T, Alloc >::insert().
Referenced by concat().
| SparseBoolMatrix SparseBoolMatrix::ipermute | ( | const Array< octave_idx_type > & | vec | ) | const |
Definition at line 318 of file boolSparse.cc.
References Sparse< T, Alloc >::ipermute().
| boolMatrix SparseBoolMatrix::matrix_value | ( | ) | const |
Definition at line 248 of file boolSparse.cc.
References Sparse< bool >::cidx(), Sparse< bool >::cols(), Sparse< bool >::data(), Array< T, Alloc >::elem(), Sparse< bool >::ridx(), and Sparse< bool >::rows().
Referenced by octave_sparse_bool_matrix::array_value(), octave_sparse_bool_matrix::bool_array_value(), octave_sparse_bool_matrix::bool_matrix_value(), octave_sparse_bool_matrix::complex_array_value(), octave_sparse_bool_matrix::complex_matrix_value(), and octave_sparse_bool_matrix::matrix_value().
| SparseBoolMatrix SparseBoolMatrix::operator! | ( | ) | const |
Definition at line 105 of file boolSparse.cc.
References Sparse< bool >::cidx(), Sparse< T, Alloc >::cidx(), Sparse< bool >::cols(), Sparse< T, Alloc >::data(), Sparse< bool >::nnz(), Sparse< bool >::ridx(), Sparse< T, Alloc >::ridx(), and Sparse< bool >::rows().
| bool SparseBoolMatrix::operator!= | ( | const SparseBoolMatrix & | a | ) | const |
Definition at line 71 of file boolSparse.cc.
|
inline |
Definition at line 78 of file boolSparse.h.
References Sparse< T, Alloc >::operator=().
| bool SparseBoolMatrix::operator== | ( | const SparseBoolMatrix & | a | ) | const |
Definition at line 47 of file boolSparse.cc.
References Sparse< T, Alloc >::cidx(), Sparse< bool >::cidx(), Sparse< T, Alloc >::cols(), Sparse< bool >::cols(), Sparse< T, Alloc >::data(), Sparse< bool >::data(), Sparse< T, Alloc >::nnz(), Sparse< bool >::nnz(), Sparse< bool >::ridx(), Sparse< T, Alloc >::ridx(), Sparse< T, Alloc >::rows(), and Sparse< bool >::rows().
| SparseBoolMatrix SparseBoolMatrix::permute | ( | const Array< octave_idx_type > & | vec, |
| bool | inv = false |
||
| ) | const |
Definition at line 312 of file boolSparse.cc.
References Sparse< T, Alloc >::permute().
| SparseBoolMatrix SparseBoolMatrix::reshape | ( | const dim_vector & | new_dims | ) | const |
Definition at line 306 of file boolSparse.cc.
References Sparse< T, Alloc >::reshape().
| SparseBoolMatrix SparseBoolMatrix::squeeze | ( | ) | const |
Definition at line 287 of file boolSparse.cc.
References Sparse< T, Alloc >::squeeze().
| SparseMatrix SparseBoolMatrix::sum | ( | int | dim = -1 | ) | const |
Definition at line 192 of file boolSparse.cc.
References Sparse< T, Alloc >::change_capacity(), Sparse< bool >::cidx(), Sparse< bool >::cols(), Sparse< bool >::nnz(), Sparse< bool >::ridx(), Sparse< T, Alloc >::ridx(), Sparse< bool >::rows(), Array< T, Alloc >::rwdata(), Sparse< T, Alloc >::xcidx(), Sparse< T, Alloc >::xdata(), and Array< T, Alloc >::xelem().
Referenced by Fsum().
|
inline |
Definition at line 89 of file boolSparse.h.
References Sparse< T, Alloc >::transpose().
Referenced by Fsymbfact().
|
friend |
Definition at line 261 of file boolSparse.cc.
|
friend |
Definition at line 279 of file boolSparse.cc.