Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::Alina::CSRRowRange< IndexType_ > Class Template Reference

Represents a range of rows of a CSR Matrix. More...

#include </__w/arcaneframework.github.io/arcaneframework.github.io/framework/arccore/src/alina/arccore/alina/CSRMatrixView.h>

Collaboration diagram for Arcane::Alina::CSRRowRange< IndexType_ >:

Public Types

using IndexType = IndexType_
using IteratorType = CSRRowRangeIterator<IndexType>
using SentinelType = IteratorType::Sentinel

Public Member Functions

constexpr IteratorType begin () const
constexpr SentinelType end () const

Private Member Functions

constexpr __host__ __device__ CSRRowRange (IndexType *row_indexes, IndexType begin, IndexType end)

Private Attributes

IndexType * m_row_indexes = nullptr
IndexType m_begin = -1
IndexType m_end = -1

Friends

template<typename ValueType_, typename ColumnType_, typename RowIndexType_>
class CSRMatrixView

Detailed Description

template<typename IndexType_>
class Arcane::Alina::CSRRowRange< IndexType_ >

Represents a range of rows of a CSR Matrix.

Definition at line 231 of file CSRMatrixView.h.

Member Typedef Documentation

◆ IndexType

template<typename IndexType_>
using Arcane::Alina::CSRRowRange< IndexType_ >::IndexType = IndexType_

Definition at line 238 of file CSRMatrixView.h.

◆ IteratorType

template<typename IndexType_>
using Arcane::Alina::CSRRowRange< IndexType_ >::IteratorType = CSRRowRangeIterator<IndexType>

Definition at line 239 of file CSRMatrixView.h.

◆ SentinelType

template<typename IndexType_>
using Arcane::Alina::CSRRowRange< IndexType_ >::SentinelType = IteratorType::Sentinel

Definition at line 240 of file CSRMatrixView.h.

Constructor & Destructor Documentation

◆ CSRRowRange()

template<typename IndexType_>
__host__ __device__ Arcane::Alina::CSRRowRange< IndexType_ >::CSRRowRange ( IndexType * row_indexes,
IndexType begin,
IndexType end )
inlineconstexprprivate

Definition at line 248 of file CSRMatrixView.h.

Member Function Documentation

◆ begin()

template<typename IndexType_>
IteratorType Arcane::Alina::CSRRowRange< IndexType_ >::begin ( ) const
inlineconstexpr

Definition at line 256 of file CSRMatrixView.h.

◆ end()

template<typename IndexType_>
SentinelType Arcane::Alina::CSRRowRange< IndexType_ >::end ( ) const
inlineconstexpr

Definition at line 260 of file CSRMatrixView.h.

◆ CSRMatrixView

template<typename IndexType_>
template<typename ValueType_, typename ColumnType_, typename RowIndexType_>
friend class CSRMatrixView
friend

Definition at line 234 of file CSRMatrixView.h.

Member Data Documentation

◆ m_begin

template<typename IndexType_>
IndexType Arcane::Alina::CSRRowRange< IndexType_ >::m_begin = -1
private

Definition at line 268 of file CSRMatrixView.h.

◆ m_end

template<typename IndexType_>
IndexType Arcane::Alina::CSRRowRange< IndexType_ >::m_end = -1
private

Definition at line 269 of file CSRMatrixView.h.

◆ m_row_indexes

template<typename IndexType_>
IndexType* Arcane::Alina::CSRRowRange< IndexType_ >::m_row_indexes = nullptr
private

Definition at line 267 of file CSRMatrixView.h.


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