linbox
TriplesDataBlock< Element > Struct Template Reference

#include <sparse-tpl-matrix-omp.h>

Public Types

typedef TriplesBBTriple< ElementTriple
 
typedef std::vector< TripleTripleList
 
typedef TripleList::const_iterator TripleListIt
 

Public Member Functions

Index getRow (int ix) const
 
Index getCol (int ix) const
 
void init (TriplesCoord blockStart, TriplesCoord blockEnd, TriplesCoord myBlockSize, TripleListIt triplesStart, TripleListIt triplesEnd, int ccf)
 
TriplesCoord blockSize () const
 
Index getStartRow () const
 
Index getStartCol () const
 
Index getEndRow () const
 
Index getEndCol () const
 

Data Fields

TriplesCoord blockStart_
 
TriplesCoord blockEnd_
 
TriplesCoord blockSize_
 
std::vector< TriplesSmallCoordrowIxs_
 
std::vector< TriplesSmallCoordcolIxs_
 
std::vector< Elementelts_
 
int ccf_
 

Member Typedef Documentation

◆ Triple

template<class Element>
typedef TriplesBBTriple<Element> Triple

◆ TripleList

template<class Element>
typedef std::vector<Triple> TripleList

◆ TripleListIt

template<class Element>
typedef TripleList::const_iterator TripleListIt

Member Function Documentation

◆ getRow()

template<class Element>
Index getRow ( int ix) const
inline

◆ getCol()

template<class Element>
Index getCol ( int ix) const
inline

◆ init()

template<class Element>
void init ( TriplesCoord blockStart,
TriplesCoord blockEnd,
TriplesCoord myBlockSize,
TripleListIt triplesStart,
TripleListIt triplesEnd,
int ccf )
inline

◆ blockSize()

template<class Element>
TriplesCoord blockSize ( ) const
inline

◆ getStartRow()

template<class Element>
Index getStartRow ( ) const
inline

◆ getStartCol()

template<class Element>
Index getStartCol ( ) const
inline

◆ getEndRow()

template<class Element>
Index getEndRow ( ) const
inline

◆ getEndCol()

template<class Element>
Index getEndCol ( ) const
inline

Field Documentation

◆ blockStart_

template<class Element>
TriplesCoord blockStart_

◆ blockEnd_

template<class Element>
TriplesCoord blockEnd_

◆ blockSize_

template<class Element>
TriplesCoord blockSize_

◆ rowIxs_

template<class Element>
std::vector<TriplesSmallCoord> rowIxs_

◆ colIxs_

template<class Element>
std::vector<TriplesSmallCoord> colIxs_

◆ elts_

template<class Element>
std::vector<Element> elts_

◆ ccf_

template<class Element>
int ccf_

The documentation for this struct was generated from the following file: