26 #if ! defined (octave_boolSparse_h)
27 #define octave_boolSparse_h 1
29 #include "octave-config.h"
58 :
Sparse<bool> (dv, nz) { }
77 :
Sparse<bool> (a,
r, c, nr, nc, sum_terms, nzm) { }
114 bool resize_ok)
const;
119 bool inv =
false)
const;
135 friend OCTAVE_API std::ostream&
operator << (std::ostream& os,
137 friend OCTAVE_API std::istream&
operator >> (std::istream& is,
template OCTAVE_API std::ostream & operator<<(std::ostream &, const Array< bool > &)
ComplexNDArray concat(NDArray &ra, ComplexNDArray &rb, const Array< octave_idx_type > &ra_idx)
#define SPARSE_SMSM_BOOL_OP_DECLS(M1, M2, API)
#define SPARSE_SMSM_EQNE_OP_DECLS(M1, M2, API)
#define SPARSE_SMS_BOOL_OP_DECLS(M, S, API)
#define SPARSE_SSM_BOOL_OP_DECLS(S, M, API)
#define SPARSE_SSM_EQNE_OP_DECLS(S, M, API)
#define SPARSE_SMS_EQNE_OP_DECLS(M, S, API)
std::istream & operator>>(std::istream &is, SparseBoolMatrix &a)
SparseBoolMatrix transpose(void) const
SparseBoolMatrix(const boolNDArray &a)
SparseBoolMatrix(octave_idx_type r, octave_idx_type c)
SparseBoolMatrix(const Sparse< bool > &a)
SparseBoolMatrix(octave_idx_type r, octave_idx_type c, octave_idx_type num_nz)
SparseBoolMatrix(const SparseBoolMatrix &a, const dim_vector &dv)
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)
SparseBoolMatrix(octave_idx_type r, octave_idx_type c, bool val)
SparseBoolMatrix(const boolMatrix &a)
boolMatrix dense_matrix_type
SparseBoolMatrix(const SparseBoolMatrix &a)
SparseBoolMatrix(const dim_vector &dv, octave_idx_type nz=0)
SparseBoolMatrix(const PermMatrix &a)
SparseMatrix & insert(const SparseMatrix &a, octave_idx_type r, octave_idx_type c)
SparseMatrix reshape(const dim_vector &new_dims) const
SparseMatrix sum(int dim=-1) const
SparseBoolMatrix any(int dim=-1) const
SparseMatrix diag(octave_idx_type k=0) const
SparseBoolMatrix all(int dim=-1) const
Matrix matrix_value(void) const
SparseMatrix permute(const Array< octave_idx_type > &vec, bool inv=false) const
SparseMatrix ipermute(const Array< octave_idx_type > &vec) const
SparseMatrix & operator=(const SparseMatrix &a)
SparseMatrix squeeze(void) const
Sparse< T > transpose(void) const
Sparse< T > index(const idx_vector &i, bool resize_ok=false) const
Sparse< T > & operator=(const Sparse< T > &a)
Vector representing the dimensions (size) of an Array.
bool operator!=(const dim_vector &a, const dim_vector &b)
bool operator==(const dim_vector &a, const dim_vector &b)
const octave_base_value const Array< octave_idx_type > & ra_idx
octave_value operator!(const octave_value &a)