26#if ! defined (octave_boolSparse_h)
27#define octave_boolSparse_h 1
29#include "octave-config.h"
73 :
Sparse<
bool> (a, r, c, nr, nc, sum_terms, nzm) { }
110 index (
const octave::idx_vector& i,
bool resize_ok)
const;
113 index (
const octave::idx_vector& i,
const octave::idx_vector& j,
114 bool resize_ok)
const;
template 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)
N Dimensional Array with copy-on-write semantics.
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(octave_idx_type r, octave_idx_type c, bool val)
SparseBoolMatrix transpose() const
SparseBoolMatrix(const boolMatrix &a)
boolMatrix dense_matrix_type
SparseBoolMatrix(const Array< bool > &a, const octave::idx_vector &r, const octave::idx_vector &c, octave_idx_type nr=-1, octave_idx_type nc=-1, bool sum_terms=true, octave_idx_type nzm=-1)
SparseBoolMatrix(const SparseBoolMatrix &a)
~SparseBoolMatrix()=default
SparseBoolMatrix(const dim_vector &dv, octave_idx_type nz=0)
SparseBoolMatrix(const PermMatrix &a)
Sparse< T, Alloc > diag(octave_idx_type k=0) const
Sparse< T, Alloc > permute(const Array< octave_idx_type > &vec, bool inv=false) const
Sparse< T, Alloc > index(const octave::idx_vector &i, bool resize_ok=false) const
Sparse< T, Alloc > squeeze() const
Sparse< T, Alloc > & insert(const Sparse< T, Alloc > &a, octave_idx_type r, octave_idx_type c)
Sparse< T, Alloc > ipermute(const Array< octave_idx_type > &vec) const
Sparse< T, Alloc > & operator=(const Sparse< T, Alloc > &a)
Sparse< T, Alloc > transpose() const
Sparse< T, Alloc > reshape(const dim_vector &new_dims) const
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)