Template Numerical Library version\ main:c173bea
Loading...
Searching...
No Matches
TNL::Matrices::details::MultidiagonalMatrixIndexer< Index, RowMajorOrder > Class Template Reference

Public Types

using IndexType = Index
 

Public Member Functions

__cuda_callable__ MultidiagonalMatrixIndexer (const IndexType &rows, const IndexType &columns, const IndexType &diagonals, const IndexType &nonemptyRows)
 
__cuda_callable__ MultidiagonalMatrixIndexer (const MultidiagonalMatrixIndexer &indexer)
 
__cuda_callable__ const IndexType & getColumns () const
 
__cuda_callable__ const IndexType & getDiagonals () const
 
__cuda_callable__ IndexType getGlobalIndex (const Index rowIdx, const Index localIdx) const
 
__cuda_callable__ const IndexType & getNonemptyRowsCount () const
 
__cuda_callable__ const IndexType & getRows () const
 
__cuda_callable__ IndexType getStorageSize () const
 
void set (const IndexType &rows, const IndexType &columns, const IndexType &diagonals, const IndexType &nonemptyRows)
 

Static Public Member Functions

static constexpr bool getRowMajorOrder ()
 

Protected Attributes

IndexType columns
 
IndexType diagonals
 
IndexType nonemptyRows
 
IndexType rows
 

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