Template Numerical Library version\ main:bdaf14e
Loading...
Searching...
No Matches
TNL::Matrices::details::TridiagonalMatrixIndexer< Index, Organization > Class Template Reference

Public Types

using IndexType = Index

Public Member Functions

__cuda_callable__ TridiagonalMatrixIndexer (const IndexType &rows, const IndexType &columns)
__cuda_callable__ TridiagonalMatrixIndexer (const TridiagonalMatrixIndexer &indexer)=default
__cuda_callable__ TridiagonalMatrixIndexer (TridiagonalMatrixIndexer &&indexer)=default
__cuda_callable__ const IndexType & getColumns () 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 getRowSize (const IndexType rowIdx) const
__cuda_callable__ IndexType getStorageSize () const
__cuda_callable__ TridiagonalMatrixIndexer & operator= (const TridiagonalMatrixIndexer &indexer)=default
__cuda_callable__ TridiagonalMatrixIndexer & operator= (TridiagonalMatrixIndexer &&indexer)=default
void setDimensions (const IndexType &rows, const IndexType &columns)

Static Public Member Functions

static constexpr bool getRowMajorOrder ()

Protected Attributes

IndexType columns = 0
IndexType nonemptyRows = 0
IndexType rows = 0

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