HLIBpro  2.1
Public Member Functions | List of all members
TBlockIndexSet Class Reference

Represents a product of two indexsets.

#include <TIndexSet.hh>

Public Member Functions

 TBlockIndexSet ()
 construct empty index set
 
 TBlockIndexSet (const TIndexSet &arow_is, const TIndexSet &acol_is)
 construct indexset defined by given sets
 
 TBlockIndexSet (const TBlockIndexSet &is)
 copy constructor
 
const TIndexSetrow_is () const
 return row indexset
 
const TIndexSetcol_is () const
 return column indexset
 
bool is_in (const idx_t row_idx, const idx_t col_idx) const
 return true if given index (i,j) is part of indexset and false otherwise
 
bool is_sub (const TBlockIndexSet &is) const
 return true if given indexset is subset
 
TBlockIndexSetoperator= (const TBlockIndexSet &is)
 copy operator
 
bool operator== (const TBlockIndexSet &is) const
 equality operator
 
bool operator!= (const TBlockIndexSet &is) const
 inequality operator
 
std::string to_string () const
 string output
 
size_t byte_size () const
 return size in bytes used by this object