GNU Octave  4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Friends | List of all members
SparseBoolMatrix Class Reference

#include "boolSparse.h"

Inheritance diagram for SparseBoolMatrix:
Inheritance graph
[legend]
Collaboration diagram for SparseBoolMatrix:
Collaboration graph
[legend]

Public Types

typedef bool element_type
 

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 PermMatrix &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)
 
 SparseBoolMatrix (octave_idx_type r, octave_idx_type c, octave_idx_type num_nz)
 
SparseBoolMatrix all (int dim=-1) const
 
SparseBoolMatrix any (int dim=-1) const
 
Array< boolarray_value (void) const
 
void assign (const idx_vector &i, const Sparse< bool > &rhs)
 
void assign (const idx_vector &i, const idx_vector &j, const Sparse< bool > &rhs)
 
size_t byte_size (void) const
 
octave_idx_type capacity (void) const
 
void change_capacity (octave_idx_type nz)
 
boolcheckelem (octave_idx_type n)
 
boolcheckelem (octave_idx_type i, octave_idx_type j)
 
boolcheckelem (const Array< octave_idx_type > &ra_idx)
 
bool checkelem (octave_idx_type n) const
 
bool checkelem (octave_idx_type i, octave_idx_type j) const
 
bool checkelem (const Array< octave_idx_type > &ra_idx) const
 
octave_idx_typecidx (void)
 
octave_idx_typecidx (octave_idx_type i)
 
octave_idx_type cidx (octave_idx_type i) const
 
octave_idx_typecidx (void) const
 
octave_idx_type cols (void) const
 
octave_idx_type columns (void) const
 
octave_idx_type compute_index (const Array< octave_idx_type > &ra_idx) const
 
SparseBoolMatrix concat (const SparseBoolMatrix &rb, const Array< octave_idx_type > &ra_idx)
 
booldata (void)
 
booldata (octave_idx_type i)
 
bool data (octave_idx_type i) const
 
booldata (void) const
 
void delete_elements (const idx_vector &i)
 
void delete_elements (int dim, const idx_vector &i)
 
void delete_elements (const idx_vector &i, const idx_vector &j)
 
SparseBoolMatrix diag (octave_idx_type k=0) const
 
octave_idx_type dim1 (void) const
 
octave_idx_type dim2 (void) const
 
dim_vector dims (void) const
 
boolelem (octave_idx_type n)
 
boolelem (octave_idx_type i, octave_idx_type j)
 
boolelem (const Array< octave_idx_type > &ra_idx)
 
bool elem (octave_idx_type n) const
 
bool elem (octave_idx_type i, octave_idx_type j) const
 
bool elem (const Array< octave_idx_type > &ra_idx) const
 
octave_idx_type get_col_index (octave_idx_type k)
 
octave_idx_type get_row_index (octave_idx_type k)
 
SparseBoolMatrix index (const idx_vector &i, bool resize_ok) const
 
SparseBoolMatrix index (const idx_vector &i, const idx_vector &j, bool resize_ok) const
 
bool indices_ok (void) const
 
SparseBoolMatrixinsert (const SparseBoolMatrix &a, octave_idx_type r, octave_idx_type c)
 
SparseBoolMatrixinsert (const SparseBoolMatrix &a, const Array< octave_idx_type > &indx)
 
Sparse< bool > & insert (const Sparse< bool > &a, octave_idx_type r, octave_idx_type c)
 
Sparse< bool > & insert (const Sparse< bool > &a, const Array< octave_idx_type > &idx)
 
SparseBoolMatrix ipermute (const Array< octave_idx_type > &vec) const
 
bool is_empty (void) const
 
bool is_square (void) const
 
octave_idx_type length (void) const
 
Sparse< U > map (F fcn) const
 
Sparse< U > map (U(&fcn)(bool)) const
 
Sparse< U > map (U(&fcn)(const bool &)) const
 
boolMatrix matrix_value (void) const
 
Sparse< boolmaybe_compress (bool remove_zeros=false)
 
void * mex_get_data (void) const
 
octave_idx_typemex_get_ir (void) const
 
octave_idx_typemex_get_jc (void) const
 
octave_idx_type ndims (void) const
 
octave_idx_type nelem (void) const
 
octave_idx_type nnz (void) const
 
octave_idx_type numel (void) const
 
octave_idx_type nzmax (void) const
 
SparseBoolMatrix operator! (void) const
 
bool operator!= (const SparseBoolMatrix &a) const
 
booloperator() (octave_idx_type n)
 
booloperator() (octave_idx_type i, octave_idx_type j)
 
booloperator() (const Array< octave_idx_type > &ra_idx)
 
bool operator() (octave_idx_type n) const
 
bool operator() (octave_idx_type i, octave_idx_type j) const
 
bool operator() (const Array< octave_idx_type > &ra_idx) const
 
SparseBoolMatrixoperator= (const SparseBoolMatrix &a)
 
bool operator== (const SparseBoolMatrix &a) const
 
SparseBoolMatrix permute (const Array< octave_idx_type > &vec, bool inv=false) const
 
void print_info (std::ostream &os, const std::string &prefix) const
 
bool range_error (const char *fcn, octave_idx_type n) const
 
boolrange_error (const char *fcn, octave_idx_type n)
 
bool range_error (const char *fcn, octave_idx_type i, octave_idx_type j) const
 
boolrange_error (const char *fcn, octave_idx_type i, octave_idx_type j)
 
bool range_error (const char *fcn, const Array< octave_idx_type > &ra_idx) const
 
boolrange_error (const char *fcn, const Array< octave_idx_type > &ra_idx)
 
SparseBoolMatrix reshape (const dim_vector &new_dims) const
 
void resize (octave_idx_type r, octave_idx_type c)
 
void resize (const dim_vector &dv)
 
void resize1 (octave_idx_type n)
 
octave_idx_typeridx (void)
 
octave_idx_typeridx (octave_idx_type i)
 
octave_idx_type ridx (octave_idx_type i) const
 
octave_idx_typeridx (void) const
 
octave_idx_type rows (void) const
 
Sparse< boolsort (octave_idx_type dim=0, sortmode mode=ASCENDING) const
 
Sparse< boolsort (Array< octave_idx_type > &sidx, octave_idx_type dim=0, sortmode mode=ASCENDING) const
 
SparseBoolMatrix squeeze (void) const
 
SparseMatrix sum (int dim=-1) const
 
bool test (F fcn) const
 
bool test_all (F fcn) const
 
bool test_all (bool(&fcn)(bool)) const
 
bool test_all (bool(&fcn)(const bool &)) const
 
bool test_any (F fcn) const
 
bool test_any (bool(&fcn)(bool)) const
 
bool test_any (bool(&fcn)(const bool &)) const
 
SparseBoolMatrix transpose (void) const
 
octave_idx_typexcidx (void)
 
octave_idx_typexcidx (octave_idx_type i)
 
boolxdata (void)
 
boolxdata (octave_idx_type i)
 
boolxelem (octave_idx_type n)
 
bool xelem (octave_idx_type n) const
 
boolxelem (octave_idx_type i, octave_idx_type j)
 
bool xelem (octave_idx_type i, octave_idx_type j) const
 
boolxelem (const Array< octave_idx_type > &ra_idx)
 
bool xelem (const Array< octave_idx_type > &ra_idx) const
 
octave_idx_typexridx (void)
 
octave_idx_typexridx (octave_idx_type i)
 

Static Public Member Functions

static Sparse< boolcat (int dim, octave_idx_type n, const Sparse< bool > *sparse_list)
 

Public Attributes

dim_vector dimensions
 
Sparse< bool >::SparseRep * rep
 

Protected Member Functions

void make_unique (void)
 

Friends

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

Detailed Description

Definition at line 38 of file boolSparse.h.

Member Typedef Documentation

typedef bool Sparse< bool >::element_type
inherited

Definition at line 54 of file Sparse.h.

Constructor & Destructor Documentation

SparseBoolMatrix::SparseBoolMatrix ( void  )
inline

Definition at line 44 of file boolSparse.h.

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

Definition at line 46 of file boolSparse.h.

SparseBoolMatrix::SparseBoolMatrix ( octave_idx_type  r,
octave_idx_type  c,
bool  val 
)
inlineexplicit

Definition at line 49 of file boolSparse.h.

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

Definition at line 52 of file boolSparse.h.

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

Definition at line 55 of file boolSparse.h.

SparseBoolMatrix::SparseBoolMatrix ( const SparseBoolMatrix a)
inline

Definition at line 57 of file boolSparse.h.

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

Definition at line 59 of file boolSparse.h.

SparseBoolMatrix::SparseBoolMatrix ( const boolMatrix a)
inlineexplicit

Definition at line 62 of file boolSparse.h.

SparseBoolMatrix::SparseBoolMatrix ( const boolNDArray a)
inlineexplicit

Definition at line 64 of file boolSparse.h.

SparseBoolMatrix::SparseBoolMatrix ( const PermMatrix a)
inlineexplicit

Definition at line 66 of file boolSparse.h.

SparseBoolMatrix::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 
)
inline

Definition at line 68 of file boolSparse.h.

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

Definition at line 74 of file boolSparse.h.

Member Function Documentation

SparseBoolMatrix SparseBoolMatrix::all ( int  dim = -1) const
SparseBoolMatrix SparseBoolMatrix::any ( int  dim = -1) const
Array<bool > Sparse< bool >::array_value ( void  ) const
inherited
void Sparse< bool >::assign ( const idx_vector i,
const Sparse< bool > &  rhs 
)
inherited
void Sparse< bool >::assign ( const idx_vector i,
const idx_vector j,
const Sparse< bool > &  rhs 
)
inherited
size_t Sparse< bool >::byte_size ( void  ) const
inlineinherited

Definition at line 276 of file Sparse.h.

octave_idx_type Sparse< bool >::capacity ( void  ) const
inlineinherited

Definition at line 247 of file Sparse.h.

static Sparse<bool > Sparse< bool >::cat ( int  dim,
octave_idx_type  n,
const Sparse< bool > *  sparse_list 
)
staticinherited
void Sparse< bool >::change_capacity ( octave_idx_type  nz)
inlineinherited

Definition at line 493 of file Sparse.h.

References Sparse< T >::SparseRep::change_length().

bool & Sparse< bool >::checkelem ( octave_idx_type  n)
inlineinherited

Definition at line 330 of file Sparse.h.

bool & Sparse< bool >::checkelem ( octave_idx_type  i,
octave_idx_type  j 
)
inlineinherited

Definition at line 341 of file Sparse.h.

bool & Sparse< bool >::checkelem ( const Array< octave_idx_type > &  ra_idx)
inlineinherited

Definition at line 352 of file Sparse.h.

References compute_index(), and elem.

bool Sparse< bool >::checkelem ( octave_idx_type  n) const
inlineinherited

Definition at line 411 of file Sparse.h.

bool Sparse< bool >::checkelem ( octave_idx_type  i,
octave_idx_type  j 
) const
inlineinherited

Definition at line 419 of file Sparse.h.

bool Sparse< bool >::checkelem ( const Array< octave_idx_type > &  ra_idx) const
inlineinherited

Definition at line 427 of file Sparse.h.

References compute_index(), and Sparse< T >::elem().

octave_idx_type* Sparse< bool >::cidx ( void  )
inlineinherited

Definition at line 531 of file Sparse.h.

References Sparse< T >::SparseRep::c.

Referenced by any(), matrix_value(), operator!(), operator==(), and sum().

octave_idx_type& Sparse< bool >::cidx ( octave_idx_type  i)
inlineinherited

Definition at line 532 of file Sparse.h.

References Sparse< T >::SparseRep::cidx().

octave_idx_type Sparse< bool >::cidx ( octave_idx_type  i) const
inlineinherited

Definition at line 540 of file Sparse.h.

References Sparse< T >::SparseRep::ccidx().

octave_idx_type* Sparse< bool >::cidx ( void  ) const
inlineinherited

Definition at line 542 of file Sparse.h.

References Sparse< T >::SparseRep::c.

octave_idx_type Sparse< bool >::cols ( void  ) const
inlineinherited

Definition at line 264 of file Sparse.h.

Referenced by any(), matrix_value(), operator!(), operator==(), and sum().

octave_idx_type Sparse< bool >::columns ( void  ) const
inlineinherited

Definition at line 265 of file Sparse.h.

octave_idx_type Sparse< bool >::compute_index ( const Array< octave_idx_type > &  ra_idx) const
inherited
SparseBoolMatrix SparseBoolMatrix::concat ( const SparseBoolMatrix rb,
const Array< octave_idx_type > &  ra_idx 
)

Definition at line 91 of file boolSparse.cc.

References Sparse< T >::cols(), insert(), ra_idx, and Sparse< T >::rows().

bool * Sparse< bool >::data ( void  )
inlineinherited

Definition at line 509 of file Sparse.h.

References Sparse< T >::SparseRep::d.

Referenced by matrix_value(), and operator==().

bool & Sparse< bool >::data ( octave_idx_type  i)
inlineinherited

Definition at line 510 of file Sparse.h.

References Sparse< T >::SparseRep::data().

bool Sparse< bool >::data ( octave_idx_type  i) const
inlineinherited

Definition at line 514 of file Sparse.h.

References Sparse< T >::SparseRep::data().

bool * Sparse< bool >::data ( void  ) const
inlineinherited

Definition at line 516 of file Sparse.h.

References Sparse< T >::SparseRep::d.

void Sparse< bool >::delete_elements ( const idx_vector i)
inherited
void Sparse< bool >::delete_elements ( int  dim,
const idx_vector i 
)
inherited
void Sparse< bool >::delete_elements ( const idx_vector i,
const idx_vector j 
)
inherited
SparseBoolMatrix SparseBoolMatrix::diag ( octave_idx_type  k = 0) const

Definition at line 242 of file boolSparse.cc.

References Sparse< T >::diag().

Referenced by octave_base_sparse< SparseComplexMatrix >::diag().

octave_idx_type Sparse< bool >::dim1 ( void  ) const
inlineinherited

Definition at line 260 of file Sparse.h.

octave_idx_type Sparse< bool >::dim2 ( void  ) const
inlineinherited

Definition at line 261 of file Sparse.h.

dim_vector Sparse< bool >::dims ( void  ) const
inlineinherited

Definition at line 283 of file Sparse.h.

bool & Sparse< bool >::elem ( octave_idx_type  n)
inlineinherited

Definition at line 362 of file Sparse.h.

bool & Sparse< bool >::elem ( octave_idx_type  i,
octave_idx_type  j 
)
inlineinherited

Definition at line 368 of file Sparse.h.

bool & Sparse< bool >::elem ( const Array< octave_idx_type > &  ra_idx)
inlineinherited

Definition at line 374 of file Sparse.h.

References compute_index(), and Sparse< T >::elem().

bool Sparse< bool >::elem ( octave_idx_type  n) const
inlineinherited

Definition at line 437 of file Sparse.h.

bool Sparse< bool >::elem ( octave_idx_type  i,
octave_idx_type  j 
) const
inlineinherited

Definition at line 439 of file Sparse.h.

bool Sparse< bool >::elem ( const Array< octave_idx_type > &  ra_idx) const
inlineinherited

Definition at line 441 of file Sparse.h.

References compute_index(), and Sparse< T >::elem().

octave_idx_type Sparse< bool >::get_col_index ( octave_idx_type  k)
inlineinherited

Definition at line 268 of file Sparse.h.

octave_idx_type Sparse< bool >::get_row_index ( octave_idx_type  k)
inlineinherited

Definition at line 267 of file Sparse.h.

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

Definition at line 293 of file boolSparse.cc.

References Sparse< T >::index().

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

Definition at line 299 of file boolSparse.cc.

References Sparse< T >::index().

bool Sparse< bool >::indices_ok ( void  ) const
inlineinherited

Definition at line 684 of file Sparse.h.

References Sparse< T >::SparseRep::indices_ok().

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

Definition at line 75 of file boolSparse.cc.

References Sparse< T >::insert().

Referenced by concat().

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

Definition at line 83 of file boolSparse.cc.

References Sparse< T >::insert().

Sparse<bool >& Sparse< bool >::insert ( const Sparse< bool > &  a,
octave_idx_type  r,
octave_idx_type  c 
)
inherited
Sparse<bool >& Sparse< bool >::insert ( const Sparse< bool > &  a,
const Array< octave_idx_type > &  idx 
)
inherited
SparseBoolMatrix SparseBoolMatrix::ipermute ( const Array< octave_idx_type > &  vec) const

Definition at line 318 of file boolSparse.cc.

References Sparse< T >::ipermute().

bool Sparse< bool >::is_empty ( void  ) const
inlineinherited

Definition at line 505 of file Sparse.h.

bool Sparse< bool >::is_square ( void  ) const
inlineinherited

Definition at line 503 of file Sparse.h.

octave_idx_type Sparse< bool >::length ( void  ) const
inlineinherited

Definition at line 258 of file Sparse.h.

void Sparse< bool >::make_unique ( void  )
inlineprotectedinherited

Definition at line 146 of file Sparse.h.

Sparse<U> Sparse< bool >::map ( F  fcn) const
inlineinherited
Sparse<U> Sparse< bool >::map ( U(&)(bool fcn) const
inlineinherited

Definition at line 676 of file Sparse.h.

Sparse<U> Sparse< bool >::map ( U(&)(const bool &)  fcn) const
inlineinherited

Definition at line 681 of file Sparse.h.

boolMatrix SparseBoolMatrix::matrix_value ( void  ) const
Sparse<bool > Sparse< bool >::maybe_compress ( bool  remove_zeros = false)
inlineinherited

Definition at line 469 of file Sparse.h.

References Sparse< T >::SparseRep::maybe_compress().

void* Sparse< bool >::mex_get_data ( void  ) const
inlineinherited

Definition at line 565 of file Sparse.h.

octave_idx_type* Sparse< bool >::mex_get_ir ( void  ) const
inlineinherited

Definition at line 567 of file Sparse.h.

octave_idx_type* Sparse< bool >::mex_get_jc ( void  ) const
inlineinherited

Definition at line 572 of file Sparse.h.

octave_idx_type Sparse< bool >::ndims ( void  ) const
inlineinherited

Definition at line 544 of file Sparse.h.

References dim_vector::length().

octave_idx_type Sparse< bool >::nelem ( void  ) const
inlineinherited

Definition at line 257 of file Sparse.h.

octave_idx_type Sparse< bool >::nnz ( void  ) const
inlineinherited

Definition at line 248 of file Sparse.h.

References Sparse< T >::SparseRep::nnz().

Referenced by any(), operator!(), operator==(), and sum().

octave_idx_type Sparse< bool >::numel ( void  ) const
inlineinherited

Definition at line 252 of file Sparse.h.

References dim_vector::safe_numel().

octave_idx_type Sparse< bool >::nzmax ( void  ) const
inlineinherited

Definition at line 246 of file Sparse.h.

References Sparse< T >::SparseRep::length().

SparseBoolMatrix SparseBoolMatrix::operator! ( void  ) const

Definition at line 69 of file boolSparse.cc.

bool & Sparse< bool >::operator() ( octave_idx_type  n)
inlineinherited

Definition at line 394 of file Sparse.h.

References elem.

bool & Sparse< bool >::operator() ( octave_idx_type  i,
octave_idx_type  j 
)
inlineinherited

Definition at line 399 of file Sparse.h.

References elem.

bool & Sparse< bool >::operator() ( const Array< octave_idx_type > &  ra_idx)
inlineinherited

Definition at line 404 of file Sparse.h.

References elem.

bool Sparse< bool >::operator() ( octave_idx_type  n) const
inlineinherited

Definition at line 457 of file Sparse.h.

References elem.

bool Sparse< bool >::operator() ( octave_idx_type  i,
octave_idx_type  j 
) const
inlineinherited

Definition at line 458 of file Sparse.h.

References elem.

bool Sparse< bool >::operator() ( const Array< octave_idx_type > &  ra_idx) const
inlineinherited

Definition at line 463 of file Sparse.h.

References elem.

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

Definition at line 77 of file boolSparse.h.

References Sparse< T >::operator=().

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

Definition at line 312 of file boolSparse.cc.

References Sparse< T >::permute().

Referenced by octave_base_sparse< SparseComplexMatrix >::permute().

void Sparse< bool >::print_info ( std::ostream &  os,
const std::string &  prefix 
) const
inherited
bool Sparse< bool >::range_error ( const char fcn,
octave_idx_type  n 
) const
inherited
bool & Sparse< bool >::range_error ( const char fcn,
octave_idx_type  n 
)
inherited
bool Sparse< bool >::range_error ( const char fcn,
octave_idx_type  i,
octave_idx_type  j 
) const
inherited
bool & Sparse< bool >::range_error ( const char fcn,
octave_idx_type  i,
octave_idx_type  j 
)
inherited
bool Sparse< bool >::range_error ( const char fcn,
const Array< octave_idx_type > &  ra_idx 
) const
inherited
bool & Sparse< bool >::range_error ( const char fcn,
const Array< octave_idx_type > &  ra_idx 
)
inherited
SparseBoolMatrix SparseBoolMatrix::reshape ( const dim_vector new_dims) const

Definition at line 306 of file boolSparse.cc.

References Sparse< T >::reshape().

Referenced by octave_base_sparse< SparseComplexMatrix >::reshape().

void Sparse< bool >::resize ( octave_idx_type  r,
octave_idx_type  c 
)
inherited
void Sparse< bool >::resize ( const dim_vector dv)
inherited
void Sparse< bool >::resize1 ( octave_idx_type  n)
inherited
octave_idx_type* Sparse< bool >::ridx ( void  )
inlineinherited

Definition at line 518 of file Sparse.h.

References Sparse< T >::SparseRep::r.

Referenced by any(), matrix_value(), operator!(), operator==(), and sum().

octave_idx_type& Sparse< bool >::ridx ( octave_idx_type  i)
inlineinherited

Definition at line 519 of file Sparse.h.

References Sparse< T >::SparseRep::ridx().

octave_idx_type Sparse< bool >::ridx ( octave_idx_type  i) const
inlineinherited

Definition at line 527 of file Sparse.h.

References Sparse< T >::SparseRep::cridx().

octave_idx_type* Sparse< bool >::ridx ( void  ) const
inlineinherited

Definition at line 529 of file Sparse.h.

References Sparse< T >::SparseRep::r.

octave_idx_type Sparse< bool >::rows ( void  ) const
inlineinherited

Definition at line 263 of file Sparse.h.

Referenced by any(), matrix_value(), operator!(), operator==(), and sum().

Sparse<bool > Sparse< bool >::sort ( octave_idx_type  dim = 0,
sortmode  mode = ASCENDING 
) const
inherited
Sparse<bool > Sparse< bool >::sort ( Array< octave_idx_type > &  sidx,
octave_idx_type  dim = 0,
sortmode  mode = ASCENDING 
) const
inherited
SparseBoolMatrix SparseBoolMatrix::squeeze ( void  ) const

Definition at line 287 of file boolSparse.cc.

References Sparse< T >::squeeze().

Referenced by octave_base_sparse< SparseComplexMatrix >::squeeze().

SparseMatrix SparseBoolMatrix::sum ( int  dim = -1) const
bool Sparse< bool >::test ( F  fcn) const
inlineinherited

Definition at line 591 of file Sparse.h.

bool Sparse< bool >::test_all ( F  fcn) const
inlineinherited

Definition at line 602 of file Sparse.h.

bool Sparse< bool >::test_all ( bool(&)(bool fcn) const
inlineinherited

Definition at line 612 of file Sparse.h.

bool Sparse< bool >::test_all ( bool(&)(const bool &)  fcn) const
inlineinherited

Definition at line 615 of file Sparse.h.

bool Sparse< bool >::test_any ( F  fcn) const
inlineinherited

Definition at line 598 of file Sparse.h.

bool Sparse< bool >::test_any ( bool(&)(bool fcn) const
inlineinherited

Definition at line 606 of file Sparse.h.

bool Sparse< bool >::test_any ( bool(&)(const bool &)  fcn) const
inlineinherited

Definition at line 609 of file Sparse.h.

SparseBoolMatrix SparseBoolMatrix::transpose ( void  ) const
inline

Definition at line 86 of file boolSparse.h.

References Sparse< T >::transpose().

Referenced by Gsymbfact().

octave_idx_type* Sparse< bool >::xcidx ( void  )
inlineinherited

Definition at line 537 of file Sparse.h.

References Sparse< T >::SparseRep::c.

octave_idx_type& Sparse< bool >::xcidx ( octave_idx_type  i)
inlineinherited

Definition at line 538 of file Sparse.h.

References Sparse< T >::SparseRep::cidx().

bool * Sparse< bool >::xdata ( void  )
inlineinherited

Definition at line 511 of file Sparse.h.

References Sparse< T >::SparseRep::d.

bool & Sparse< bool >::xdata ( octave_idx_type  i)
inlineinherited

Definition at line 512 of file Sparse.h.

References Sparse< T >::SparseRep::data().

bool & Sparse< bool >::xelem ( octave_idx_type  n)
inlineinherited

Definition at line 300 of file Sparse.h.

bool Sparse< bool >::xelem ( octave_idx_type  n) const
inlineinherited

Definition at line 307 of file Sparse.h.

bool & Sparse< bool >::xelem ( octave_idx_type  i,
octave_idx_type  j 
)
inlineinherited

Definition at line 314 of file Sparse.h.

References Sparse< T >::SparseRep::elem().

bool Sparse< bool >::xelem ( octave_idx_type  i,
octave_idx_type  j 
) const
inlineinherited

Definition at line 315 of file Sparse.h.

References Sparse< T >::SparseRep::celem().

bool & Sparse< bool >::xelem ( const Array< octave_idx_type > &  ra_idx)
inlineinherited

Definition at line 320 of file Sparse.h.

References compute_index().

bool Sparse< bool >::xelem ( const Array< octave_idx_type > &  ra_idx) const
inlineinherited

Definition at line 323 of file Sparse.h.

References compute_index().

octave_idx_type* Sparse< bool >::xridx ( void  )
inlineinherited

Definition at line 524 of file Sparse.h.

References Sparse< T >::SparseRep::r.

octave_idx_type& Sparse< bool >::xridx ( octave_idx_type  i)
inlineinherited

Definition at line 525 of file Sparse.h.

References Sparse< T >::SparseRep::ridx().

Friends And Related Function Documentation

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

Definition at line 262 of file boolSparse.cc.

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

Definition at line 279 of file boolSparse.cc.

Member Data Documentation

dim_vector Sparse< bool >::dimensions
inherited

Definition at line 166 of file Sparse.h.

Sparse<bool >::SparseRep* Sparse< bool >::rep
inherited

Definition at line 164 of file Sparse.h.


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