Navigation

Operators and Keywords

Function List:

C++ API

SparseBoolMatrix Class Reference

#include <boolSparse.h>

Inherits Sparse< bool >.

Collaboration diagram for SparseBoolMatrix:

List of all members.


Public Member Functions

 SparseBoolMatrix (void)
 SparseBoolMatrix (octave_idx_type r, octave_idx_type c)
 SparseBoolMatrix (octave_idx_type r, octave_idx_type c, bool val)
 SparseBoolMatrix (const dim_vector &dv, octave_idx_type nz=0)
 SparseBoolMatrix (const Sparse< bool > &a)
 SparseBoolMatrix (const SparseBoolMatrix &a)
 SparseBoolMatrix (const SparseBoolMatrix &a, const dim_vector &dv)
 SparseBoolMatrix (const boolMatrix &a)
 SparseBoolMatrix (const boolNDArray &a)
 SparseBoolMatrix (const Array< bool > a, const Array< octave_idx_type > &r, const Array< octave_idx_type > &c, octave_idx_type nr=-1, octave_idx_type nc=-1, bool sum_terms=true)
 SparseBoolMatrix (const Array< bool > a, const Array< double > &r, const Array< double > &c, octave_idx_type nr=-1, octave_idx_type nc=-1, bool sum_terms=true)
 SparseBoolMatrix (octave_idx_type r, octave_idx_type c, octave_idx_type num_nz)
SparseBoolMatrixoperator= (const SparseBoolMatrix &a)
bool operator== (const SparseBoolMatrix &a) const
bool operator!= (const SparseBoolMatrix &a) const
SparseBoolMatrix transpose (void) const
SparseBoolMatrixinsert (const SparseBoolMatrix &a, octave_idx_type r, octave_idx_type c)
SparseBoolMatrixinsert (const SparseBoolMatrix &a, const Array< octave_idx_type > &indx)
SparseBoolMatrix concat (const SparseBoolMatrix &rb, const Array< octave_idx_type > &ra_idx)
SparseBoolMatrix diag (octave_idx_type k=0) const
boolMatrix matrix_value (void) const
SparseBoolMatrix squeeze (void) const
SparseBoolMatrix index (idx_vector &i, int resize_ok) const
SparseBoolMatrix index (idx_vector &i, idx_vector &j, int resize_ok) const
SparseBoolMatrix index (Array< idx_vector > &ra_idx, int resize_ok) const
SparseBoolMatrix reshape (const dim_vector &new_dims) const
SparseBoolMatrix permute (const Array< octave_idx_type > &vec, bool inv=false) const
SparseBoolMatrix ipermute (const Array< octave_idx_type > &vec) const
SparseBoolMatrix operator! (void) const
SparseBoolMatrix all (int dim=-1) const
SparseBoolMatrix any (int dim=-1) const

Friends

OCTAVE_API std::ostreamoperator<< (std::ostream &os, const SparseBoolMatrix &a)
OCTAVE_API std::istream & operator>> (std::istream &is, SparseBoolMatrix &a)

Constructor & Destructor Documentation

SparseBoolMatrix::SparseBoolMatrix ( void   )  [inline]

SparseBoolMatrix::SparseBoolMatrix ( octave_idx_type  r,
octave_idx_type  c 
) [inline]

SparseBoolMatrix::SparseBoolMatrix ( octave_idx_type  r,
octave_idx_type  c,
bool  val 
) [inline, explicit]

SparseBoolMatrix::SparseBoolMatrix ( const dim_vector dv,
octave_idx_type  nz = 0 
) [inline]

SparseBoolMatrix::SparseBoolMatrix ( const Sparse< bool > &  a  )  [inline]

SparseBoolMatrix::SparseBoolMatrix ( const SparseBoolMatrix a  )  [inline]

SparseBoolMatrix::SparseBoolMatrix ( const SparseBoolMatrix a,
const dim_vector dv 
) [inline]

SparseBoolMatrix::SparseBoolMatrix ( const boolMatrix a  )  [inline, explicit]

SparseBoolMatrix::SparseBoolMatrix ( const boolNDArray a  )  [inline, explicit]

SparseBoolMatrix::SparseBoolMatrix ( const Array< bool a,
const Array< octave_idx_type > &  r,
const Array< octave_idx_type > &  c,
octave_idx_type  nr = -1,
octave_idx_type  nc = -1,
bool  sum_terms = true 
) [inline, explicit]

SparseBoolMatrix::SparseBoolMatrix ( const Array< bool a,
const Array< double > &  r,
const Array< double > &  c,
octave_idx_type  nr = -1,
octave_idx_type  nc = -1,
bool  sum_terms = true 
) [inline, explicit]

SparseBoolMatrix::SparseBoolMatrix ( octave_idx_type  r,
octave_idx_type  c,
octave_idx_type  num_nz 
) [inline]


Member Function Documentation

SparseBoolMatrix SparseBoolMatrix::all ( int  dim = -1  )  const

SparseBoolMatrix SparseBoolMatrix::any ( int  dim = -1  )  const

SparseBoolMatrix SparseBoolMatrix::concat ( const SparseBoolMatrix rb,
const Array< octave_idx_type > &  ra_idx 
)

SparseBoolMatrix SparseBoolMatrix::diag ( octave_idx_type  k = 0  )  const

Reimplemented from Sparse< bool >.

SparseBoolMatrix SparseBoolMatrix::index ( Array< idx_vector > &  ra_idx,
int  resize_ok 
) const

Reimplemented from Sparse< bool >.

SparseBoolMatrix SparseBoolMatrix::index ( idx_vector i,
idx_vector j,
int  resize_ok 
) const

Reimplemented from Sparse< bool >.

SparseBoolMatrix SparseBoolMatrix::index ( idx_vector i,
int  resize_ok 
) const

Reimplemented from Sparse< bool >.

SparseBoolMatrix & SparseBoolMatrix::insert ( const SparseBoolMatrix a,
const Array< octave_idx_type > &  indx 
)

SparseBoolMatrix & SparseBoolMatrix::insert ( const SparseBoolMatrix a,
octave_idx_type  r,
octave_idx_type  c 
)

SparseBoolMatrix SparseBoolMatrix::ipermute ( const Array< octave_idx_type > &  vec  )  const

Reimplemented from Sparse< bool >.

boolMatrix SparseBoolMatrix::matrix_value ( void   )  const

SparseBoolMatrix SparseBoolMatrix::operator! ( void   )  const

bool SparseBoolMatrix::operator!= ( const SparseBoolMatrix a  )  const

SparseBoolMatrix& SparseBoolMatrix::operator= ( const SparseBoolMatrix a  )  [inline]

bool SparseBoolMatrix::operator== ( const SparseBoolMatrix a  )  const

SparseBoolMatrix SparseBoolMatrix::permute ( const Array< octave_idx_type > &  vec,
bool  inv = false 
) const

Reimplemented from Sparse< bool >.

SparseBoolMatrix SparseBoolMatrix::reshape ( const dim_vector new_dims  )  const

Reimplemented from Sparse< bool >.

SparseBoolMatrix SparseBoolMatrix::squeeze ( void   )  const

Reimplemented from Sparse< bool >.

SparseBoolMatrix SparseBoolMatrix::transpose ( void   )  const [inline]

Reimplemented from Sparse< bool >.


Friends And Related Function Documentation

OCTAVE_API std::ostream& operator<< ( std::ostream os,
const SparseBoolMatrix a 
) [friend]

OCTAVE_API std::istream& operator>> ( std::istream &  is,
SparseBoolMatrix a 
) [friend]


The documentation for this class was generated from the following files: