#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 45 of file boolSparse.h.
|
inline |
Definition at line 47 of file boolSparse.h.
|
inline |
Definition at line 49 of file boolSparse.h.
|
inlineexplicit |
Definition at line 52 of file boolSparse.h.
|
inline |
Definition at line 55 of file boolSparse.h.
|
inline |
Definition at line 58 of file boolSparse.h.
|
inline |
Definition at line 60 of file boolSparse.h.
|
inline |
Definition at line 62 of file boolSparse.h.
|
inlineexplicit |
Definition at line 65 of file boolSparse.h.
|
inlineexplicit |
Definition at line 67 of file boolSparse.h.
|
inlineexplicit |
Definition at line 69 of file boolSparse.h.
|
inline |
Definition at line 71 of file boolSparse.h.
|
inline |
Definition at line 77 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< T >::all(), 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(), Array< T, Alloc >::fortran_vec(), Sparse< bool >::nnz(), Sparse< T, Alloc >::ridx(), Sparse< bool >::ridx(), Sparse< bool >::rows(), Sparse< T, Alloc >::xcidx(), and Array< T, Alloc >::xelem().
Referenced by octave_base_sparse< T >::any(), and 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().
Referenced by octave_base_sparse< T >::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(), and r.
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(), octave_base_sparse< T >::full_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< bool >::cols(), Sparse< bool >::nnz(), r, Sparse< bool >::ridx(), and Sparse< bool >::rows().
bool SparseBoolMatrix::operator!= | ( | const SparseBoolMatrix & | a | ) | const |
Definition at line 71 of file boolSparse.cc.
|
inline |
Definition at line 80 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< T, Alloc >::ridx(), Sparse< bool >::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().
Referenced by octave_base_sparse< T >::permute().
SparseBoolMatrix SparseBoolMatrix::reshape | ( | const dim_vector & | new_dims | ) | const |
Definition at line 306 of file boolSparse.cc.
References Sparse< T, Alloc >::reshape().
Referenced by octave_base_sparse< T >::reshape().
SparseBoolMatrix SparseBoolMatrix::squeeze | ( | ) | const |
Definition at line 287 of file boolSparse.cc.
References Sparse< T, Alloc >::squeeze().
Referenced by octave_base_sparse< T >::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(), Array< T, Alloc >::fortran_vec(), Sparse< bool >::nnz(), Sparse< T, Alloc >::ridx(), Sparse< bool >::ridx(), Sparse< bool >::rows(), Sparse< T, Alloc >::xcidx(), Sparse< T, Alloc >::xdata(), and Array< T, Alloc >::xelem().
Referenced by Fsum().
|
inline |
Definition at line 91 of file boolSparse.h.
References Sparse< T, Alloc >::transpose().
|
friend |
Definition at line 261 of file boolSparse.cc.
|
friend |
Definition at line 279 of file boolSparse.cc.