Arcane  4.2.1.0
Documentation développeur
Chargement...
Recherche...
Aucune correspondance
Référence de la classe Arcane::CNCSparseRowColumn

#include <arcane/aleph/cuda/AlephCudaMatrix.h>

Graphe de collaboration de Arcane::CNCSparseRowColumn:

Fonctions membres publiques

long nb_coeffs () const
CNCCoeff & coeff (long ii)
const CNCCoeff & coeff (long ii) const
void add (long index, double val)
void sort ()
void clear ()
void zero ()

Fonctions membres protégées

void grow ()

Attributs privés

CNCCoeff * coeff_
long nb_coeffs_
long capacity_

Description détaillée

A row or a column of a SparseMatrix. SparseRowColumn is compressed, and stored in the form of a list of (value,index) couples.

Définition à la ligne 43 du fichier AlephCudaMatrix.h.

Documentation des constructeurs et destructeur

◆ CNCSparseRowColumn()

Arcane::CNCSparseRowColumn::CNCSparseRowColumn ( )
inline

Définition à la ligne 45 du fichier AlephCudaMatrix.h.

◆ ~CNCSparseRowColumn()

Arcane::CNCSparseRowColumn::~CNCSparseRowColumn ( )
inline

Définition à la ligne 50 du fichier AlephCudaMatrix.h.

Documentation des fonctions membres

◆ add()

void Arcane::CNCSparseRowColumn::add ( long index,
double val )
inline

a_{index} <- a_{index} + val

Définition à la ligne 56 du fichier AlephCudaMatrix.h.

◆ clear()

void Arcane::CNCSparseRowColumn::clear ( )
inline

removes all the coefficients and frees the allocated space.

Définition à la ligne 93 du fichier AlephCudaMatrix.h.

◆ coeff() [1/2]

CNCCoeff & Arcane::CNCSparseRowColumn::coeff ( long ii)
inline

Définition à la ligne 52 du fichier AlephCudaMatrix.h.

◆ coeff() [2/2]

const CNCCoeff & Arcane::CNCSparseRowColumn::coeff ( long ii) const
inline

Définition à la ligne 53 du fichier AlephCudaMatrix.h.

◆ grow()

void Arcane::CNCSparseRowColumn::grow ( )
inlineprotected

Définition à la ligne 108 du fichier AlephCudaMatrix.h.

◆ nb_coeffs()

long Arcane::CNCSparseRowColumn::nb_coeffs ( ) const
inline

Définition à la ligne 51 du fichier AlephCudaMatrix.h.

◆ sort()

void Arcane::CNCSparseRowColumn::sort ( )
inline

sorts the coefficients by increasing index

Définition à la ligne 83 du fichier AlephCudaMatrix.h.

◆ zero()

void Arcane::CNCSparseRowColumn::zero ( )
inline

removes all the coefficients, but keeps the allocated space, that will be used by subsequent calls to add().

Définition à la ligne 105 du fichier AlephCudaMatrix.h.

Documentation des données membres

◆ capacity_

long Arcane::CNCSparseRowColumn::capacity_
private

Définition à la ligne 117 du fichier AlephCudaMatrix.h.

◆ coeff_

CNCCoeff* Arcane::CNCSparseRowColumn::coeff_
private

Définition à la ligne 115 du fichier AlephCudaMatrix.h.

◆ nb_coeffs_

long Arcane::CNCSparseRowColumn::nb_coeffs_
private

Définition à la ligne 116 du fichier AlephCudaMatrix.h.


La documentation de cette classe a été générée à partir du fichier suivant :