24 #if !defined (octave_boolSparse_h)
25 #define octave_boolSparse_h 1
72 :
Sparse<
bool> (a, r, c, nr, nc, sum_terms, nzm) { }
109 bool resize_ok)
const;
114 bool inv =
false)
const;
130 friend OCTAVE_API std::ostream&
operator << (std::ostream& os,
132 friend OCTAVE_API std::istream&
operator >> (std::istream& is,
SparseMatrix reshape(const dim_vector &new_dims) const
#define SPARSE_SMSM_BOOL_OP_DECLS(M1, M2, API)
bool operator!=(const dim_vector &a, const dim_vector &b)
const octave_base_value const Array< octave_idx_type > & ra_idx
Sparse< T > & operator=(const Sparse< T > &a)
SparseBoolMatrix all(int dim=-1) const
std::istream & operator>>(std::istream &is, SparseBoolMatrix &a)
#define SPARSE_SMS_EQNE_OP_DECLS(M, S, API)
SparseMatrix sum(int dim=-1) const
SparseBoolMatrix(octave_idx_type r, octave_idx_type c, octave_idx_type num_nz)
#define SPARSE_SSM_EQNE_OP_DECLS(S, M, API)
SparseBoolMatrix(const PermMatrix &a)
SparseBoolMatrix(octave_idx_type r, octave_idx_type c, bool val)
SparseMatrix ipermute(const Array< octave_idx_type > &vec) const
ComplexNDArray concat(NDArray &ra, ComplexNDArray &rb, const Array< octave_idx_type > &ra_idx)
SparseBoolMatrix(octave_idx_type r, octave_idx_type c)
Sparse< double > index(const idx_vector &i, bool resize_ok=false) const
SparseMatrix & insert(const SparseMatrix &a, octave_idx_type r, octave_idx_type c)
SparseBoolMatrix transpose(void) const
#define SPARSE_SMS_BOOL_OP_DECLS(M, S, API)
#define SPARSE_SSM_BOOL_OP_DECLS(S, M, API)
Matrix matrix_value(void) const
SparseBoolMatrix(const boolNDArray &a)
#define SPARSE_SMSM_EQNE_OP_DECLS(M1, M2, API)
SparseMatrix diag(octave_idx_type k=0) const
SparseBoolMatrix any(int dim=-1) const
SparseBoolMatrix(const SparseBoolMatrix &a, const dim_vector &dv)
bool operator==(const dim_vector &a, const dim_vector &b)
SparseBoolMatrix(const boolMatrix &a)
SparseMatrix squeeze(void) const
SparseBoolMatrix(const dim_vector &dv, octave_idx_type nz=0)
template OCTAVE_API std::ostream & operator<<(std::ostream &, const Array< bool > &)
SparseMatrix permute(const Array< octave_idx_type > &vec, bool inv=false) const
octave_value operator!(const octave_value &a)
SparseBoolMatrix(const Sparse< bool > &a)
SparseMatrix & operator=(const SparseMatrix &a)
SparseBoolMatrix(const Array< bool > &a, const idx_vector &r, const idx_vector &c, octave_idx_type nr=-1, octave_idx_type nc=-1, bool sum_terms=true, octave_idx_type nzm=-1)
Sparse< T > transpose(void) const
SparseBoolMatrix(const SparseBoolMatrix &a)