linbox
TriplesBlock Struct Reference

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

Public Member Functions

 TriplesBlock (Index start, Index end, TriplesCoord blockStart, TriplesCoord blockEnd)
 
Index nnz () const
 
TriplesCoord blockSize () const
 
void toBlock ()
 
void fromBlock ()
 
const IndexgetStartRow () const
 
const IndexgetStartCol () const
 
const IndexgetEndRow () const
 
const IndexgetEndCol () const
 

Static Public Member Functions

static bool compareBlockSizes (const TriplesBlock &lhs, const TriplesBlock &rhs)
 

Data Fields

Index start_
 
Index end_
 
TriplesCoord blockStart_
 
TriplesCoord blockEnd_
 

Constructor & Destructor Documentation

◆ TriplesBlock()

TriplesBlock ( Index start,
Index end,
TriplesCoord blockStart,
TriplesCoord blockEnd )
inline

Member Function Documentation

◆ nnz()

Index nnz ( ) const
inline

◆ blockSize()

TriplesCoord blockSize ( ) const
inline

◆ toBlock()

void toBlock ( )
inline

◆ fromBlock()

void fromBlock ( )
inline

◆ getStartRow()

const Index & getStartRow ( ) const
inline

◆ getStartCol()

const Index & getStartCol ( ) const
inline

◆ getEndRow()

const Index & getEndRow ( ) const
inline

◆ getEndCol()

const Index & getEndCol ( ) const
inline

◆ compareBlockSizes()

static bool compareBlockSizes ( const TriplesBlock & lhs,
const TriplesBlock & rhs )
inlinestatic

Field Documentation

◆ start_

Index start_

◆ end_

Index end_

◆ blockStart_

TriplesCoord blockStart_

◆ blockEnd_

TriplesCoord blockEnd_

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