Arcane  4.2.1.0
Documentation développeur
Chargement...
Recherche...
Aucune correspondance
Référence du modèle de la classe Arcane::Alina::CSRMatrixView< ValueType_, ColumnType_, RowIndexType_ >

Matrice creuse stockée au format CSR (Compressed Sparse Row). Plus de détails...

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

Graphe de collaboration de Arcane::Alina::CSRMatrixView< ValueType_, ColumnType_, RowIndexType_ >:

Types publics

typedef ValueType_ value_type
typedef ValueType_ val_type
typedef ColumnType_ col_type
using ptr_type = RowIndexType_
using RowIndexType = RowIndexType_
using ColumnSpanType = SpanChooser<ColumnType_,sizeof(RowIndexType_)>::SpanType
using ValueSpanType = SpanChooser<ValueType_,sizeof(RowIndexType_)>::SpanType

Fonctions membres publiques

 CSRMatrixView (Int32 nb_row, RowIndexType nb_non_zero, ptr_type *ptr_range, col_type *col_range, val_type *val_range)
constexpr Int32 nbRow () const noexcept
 Nombre de lignes.
constexpr RowIndexType nbNonZero () const noexcept
 Nombre de valeurs non nulles dans la matrice.
constexpr Int32 nbNonZeroForRow (Int32 row) const
 Nombre de valeurs non nulles pour la ligne row.
SmallSpan< RowIndexType > rowIndexes () const noexcept
ColumnSpanType columns () const noexcept
ValueSpanType values () const noexcept
constexpr CSRRow< RowIndexType > rowRange (Int32 row) const
constexpr CSRRowRange< RowIndexType > rows () const
 Plage de toutes les lignes de la matrice.
constexpr CSRRowRange< RowIndexType > subrows (RowIndexType begin, RowIndexType size) const
 Plage de lignes à partir de l'intervalle [begin,begin+size[.
constexpr ptr_type ptr (Int32 i) const
constexpr col_type col (RowIndexType i) const
constexpr val_type val (RowIndexType i) const
ptr_type & ptr (Int32 i)
col_type & col (RowIndexType i)
val_type & val (RowIndexType i)
constexpr val_type & value (CSRRowColumnIndex< RowIndexType > rc_index) const
 Valeur de la matrice pour l'index LigneColonne donné rc_index.
constexpr col_type column (CSRRowColumnIndex< RowIndexType > rc_index) const
 Valeur de la matrice pour l'index LigneColonne donné rc_index.

Attributs privés

val_type * m_values = nullptr
RowIndexType * m_row_indexes = nullptr
col_type * m_columns = nullptr
Int32 m_nb_row = 0
RowIndexType m_nb_non_zero = 0

Description détaillée

template<typename ValueType_, typename ColumnType_, typename RowIndexType_>
class Arcane::Alina::CSRMatrixView< ValueType_, ColumnType_, RowIndexType_ >

Matrice creuse stockée au format CSR (Compressed Sparse Row).

Définition à la ligne 282 du fichier CSRMatrixView.h.

Documentation des définitions de type membres

◆ col_type

template<typename ValueType_, typename ColumnType_, typename RowIndexType_>
typedef ColumnType_ Arcane::Alina::CSRMatrixView< ValueType_, ColumnType_, RowIndexType_ >::col_type

Définition à la ligne 288 du fichier CSRMatrixView.h.

◆ ColumnSpanType

template<typename ValueType_, typename ColumnType_, typename RowIndexType_>
using Arcane::Alina::CSRMatrixView< ValueType_, ColumnType_, RowIndexType_ >::ColumnSpanType = SpanChooser<ColumnType_,sizeof(RowIndexType_)>::SpanType

Définition à la ligne 291 du fichier CSRMatrixView.h.

◆ ptr_type

template<typename ValueType_, typename ColumnType_, typename RowIndexType_>
using Arcane::Alina::CSRMatrixView< ValueType_, ColumnType_, RowIndexType_ >::ptr_type = RowIndexType_

Définition à la ligne 289 du fichier CSRMatrixView.h.

◆ RowIndexType

template<typename ValueType_, typename ColumnType_, typename RowIndexType_>
using Arcane::Alina::CSRMatrixView< ValueType_, ColumnType_, RowIndexType_ >::RowIndexType = RowIndexType_

Définition à la ligne 290 du fichier CSRMatrixView.h.

◆ val_type

template<typename ValueType_, typename ColumnType_, typename RowIndexType_>
typedef ValueType_ Arcane::Alina::CSRMatrixView< ValueType_, ColumnType_, RowIndexType_ >::val_type

Définition à la ligne 287 du fichier CSRMatrixView.h.

◆ value_type

template<typename ValueType_, typename ColumnType_, typename RowIndexType_>
typedef ValueType_ Arcane::Alina::CSRMatrixView< ValueType_, ColumnType_, RowIndexType_ >::value_type

Définition à la ligne 286 du fichier CSRMatrixView.h.

◆ ValueSpanType

template<typename ValueType_, typename ColumnType_, typename RowIndexType_>
using Arcane::Alina::CSRMatrixView< ValueType_, ColumnType_, RowIndexType_ >::ValueSpanType = SpanChooser<ValueType_,sizeof(RowIndexType_)>::SpanType

Définition à la ligne 292 du fichier CSRMatrixView.h.

Documentation des constructeurs et destructeur

◆ CSRMatrixView()

template<typename ValueType_, typename ColumnType_, typename RowIndexType_>
Arcane::Alina::CSRMatrixView< ValueType_, ColumnType_, RowIndexType_ >::CSRMatrixView ( Int32 nb_row,
RowIndexType nb_non_zero,
ptr_type * ptr_range,
col_type * col_range,
val_type * val_range )
inline

Définition à la ligne 298 du fichier CSRMatrixView.h.

Documentation des fonctions membres

◆ col() [1/2]

template<typename ValueType_, typename ColumnType_, typename RowIndexType_>
col_type & Arcane::Alina::CSRMatrixView< ValueType_, ColumnType_, RowIndexType_ >::col ( RowIndexType i)
inline

Définition à la ligne 367 du fichier CSRMatrixView.h.

◆ col() [2/2]

template<typename ValueType_, typename ColumnType_, typename RowIndexType_>
col_type Arcane::Alina::CSRMatrixView< ValueType_, ColumnType_, RowIndexType_ >::col ( RowIndexType i) const
inlineconstexpr

Définition à la ligne 351 du fichier CSRMatrixView.h.

◆ column()

template<typename ValueType_, typename ColumnType_, typename RowIndexType_>
col_type Arcane::Alina::CSRMatrixView< ValueType_, ColumnType_, RowIndexType_ >::column ( CSRRowColumnIndex< RowIndexType > rc_index) const
inlineconstexpr

Valeur de la matrice pour l'index LigneColonne donné rc_index.

Définition à la ligne 384 du fichier CSRMatrixView.h.

◆ columns()

template<typename ValueType_, typename ColumnType_, typename RowIndexType_>
ColumnSpanType Arcane::Alina::CSRMatrixView< ValueType_, ColumnType_, RowIndexType_ >::columns ( ) const
inlinenoexcept

Définition à la ligne 322 du fichier CSRMatrixView.h.

◆ nbNonZero()

template<typename ValueType_, typename ColumnType_, typename RowIndexType_>
RowIndexType Arcane::Alina::CSRMatrixView< ValueType_, ColumnType_, RowIndexType_ >::nbNonZero ( ) const
inlineconstexprnoexcept

Nombre de valeurs non nulles dans la matrice.

Définition à la ligne 312 du fichier CSRMatrixView.h.

◆ nbNonZeroForRow()

template<typename ValueType_, typename ColumnType_, typename RowIndexType_>
Int32 Arcane::Alina::CSRMatrixView< ValueType_, ColumnType_, RowIndexType_ >::nbNonZeroForRow ( Int32 row) const
inlineconstexpr

Nombre de valeurs non nulles pour la ligne row.

Définition à la ligne 315 du fichier CSRMatrixView.h.

◆ nbRow()

template<typename ValueType_, typename ColumnType_, typename RowIndexType_>
Int32 Arcane::Alina::CSRMatrixView< ValueType_, ColumnType_, RowIndexType_ >::nbRow ( ) const
inlineconstexprnoexcept

Nombre de lignes.

Définition à la ligne 310 du fichier CSRMatrixView.h.

◆ ptr() [1/2]

template<typename ValueType_, typename ColumnType_, typename RowIndexType_>
ptr_type & Arcane::Alina::CSRMatrixView< ValueType_, ColumnType_, RowIndexType_ >::ptr ( Int32 i)
inline

Définition à la ligne 362 du fichier CSRMatrixView.h.

◆ ptr() [2/2]

template<typename ValueType_, typename ColumnType_, typename RowIndexType_>
ptr_type Arcane::Alina::CSRMatrixView< ValueType_, ColumnType_, RowIndexType_ >::ptr ( Int32 i) const
inlineconstexpr

Définition à la ligne 346 du fichier CSRMatrixView.h.

◆ rowIndexes()

template<typename ValueType_, typename ColumnType_, typename RowIndexType_>
SmallSpan< RowIndexType > Arcane::Alina::CSRMatrixView< ValueType_, ColumnType_, RowIndexType_ >::rowIndexes ( ) const
inlinenoexcept

Définition à la ligne 321 du fichier CSRMatrixView.h.

◆ rowRange()

template<typename ValueType_, typename ColumnType_, typename RowIndexType_>
CSRRow< RowIndexType > Arcane::Alina::CSRMatrixView< ValueType_, ColumnType_, RowIndexType_ >::rowRange ( Int32 row) const
inlinenodiscardconstexpr

Définition à la ligne 327 du fichier CSRMatrixView.h.

◆ rows()

template<typename ValueType_, typename ColumnType_, typename RowIndexType_>
CSRRowRange< RowIndexType > Arcane::Alina::CSRMatrixView< ValueType_, ColumnType_, RowIndexType_ >::rows ( ) const
inlineconstexpr

Plage de toutes les lignes de la matrice.

Définition à la ligne 334 du fichier CSRMatrixView.h.

◆ subrows()

template<typename ValueType_, typename ColumnType_, typename RowIndexType_>
CSRRowRange< RowIndexType > Arcane::Alina::CSRMatrixView< ValueType_, ColumnType_, RowIndexType_ >::subrows ( RowIndexType begin,
RowIndexType size ) const
inlineconstexpr

Plage de lignes à partir de l'intervalle [begin,begin+size[.

Définition à la ligne 339 du fichier CSRMatrixView.h.

◆ val() [1/2]

template<typename ValueType_, typename ColumnType_, typename RowIndexType_>
val_type & Arcane::Alina::CSRMatrixView< ValueType_, ColumnType_, RowIndexType_ >::val ( RowIndexType i)
inline

Définition à la ligne 372 du fichier CSRMatrixView.h.

◆ val() [2/2]

template<typename ValueType_, typename ColumnType_, typename RowIndexType_>
val_type Arcane::Alina::CSRMatrixView< ValueType_, ColumnType_, RowIndexType_ >::val ( RowIndexType i) const
inlineconstexpr

Définition à la ligne 356 du fichier CSRMatrixView.h.

◆ value()

template<typename ValueType_, typename ColumnType_, typename RowIndexType_>
val_type & Arcane::Alina::CSRMatrixView< ValueType_, ColumnType_, RowIndexType_ >::value ( CSRRowColumnIndex< RowIndexType > rc_index) const
inlineconstexpr

Valeur de la matrice pour l'index LigneColonne donné rc_index.

Définition à la ligne 379 du fichier CSRMatrixView.h.

◆ values()

template<typename ValueType_, typename ColumnType_, typename RowIndexType_>
ValueSpanType Arcane::Alina::CSRMatrixView< ValueType_, ColumnType_, RowIndexType_ >::values ( ) const
inlinenoexcept

Définition à la ligne 323 du fichier CSRMatrixView.h.

Documentation des données membres

◆ m_columns

template<typename ValueType_, typename ColumnType_, typename RowIndexType_>
col_type* Arcane::Alina::CSRMatrixView< ValueType_, ColumnType_, RowIndexType_ >::m_columns = nullptr
private

Définition à la ligne 393 du fichier CSRMatrixView.h.

◆ m_nb_non_zero

template<typename ValueType_, typename ColumnType_, typename RowIndexType_>
RowIndexType Arcane::Alina::CSRMatrixView< ValueType_, ColumnType_, RowIndexType_ >::m_nb_non_zero = 0
private

Définition à la ligne 395 du fichier CSRMatrixView.h.

◆ m_nb_row

template<typename ValueType_, typename ColumnType_, typename RowIndexType_>
Int32 Arcane::Alina::CSRMatrixView< ValueType_, ColumnType_, RowIndexType_ >::m_nb_row = 0
private

Définition à la ligne 394 du fichier CSRMatrixView.h.

◆ m_row_indexes

template<typename ValueType_, typename ColumnType_, typename RowIndexType_>
RowIndexType* Arcane::Alina::CSRMatrixView< ValueType_, ColumnType_, RowIndexType_ >::m_row_indexes = nullptr
private

Définition à la ligne 392 du fichier CSRMatrixView.h.

◆ m_values

template<typename ValueType_, typename ColumnType_, typename RowIndexType_>
val_type* Arcane::Alina::CSRMatrixView< ValueType_, ColumnType_, RowIndexType_ >::m_values = nullptr
private

Définition à la ligne 391 du fichier CSRMatrixView.h.


La documentation de cette classe a été générée à partir des fichiers suivants :