#include <arcane/aleph/cuda/AlephCudaMatrix.h>
Public Member Functions | |
| 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 () |
Protected Member Functions | |
| void | grow () |
Private Attributes | |
| CNCCoeff * | coeff_ |
| long | nb_coeffs_ |
| long | capacity_ |
A row or a column of a SparseMatrix. SparseRowColumn is compressed, and stored in the form of a list of (value,index) couples.
Definition at line 47 of file AlephCudaMatrix.h.
|
inline |
Definition at line 51 of file AlephCudaMatrix.h.
|
inline |
Definition at line 57 of file AlephCudaMatrix.h.
|
inline |
a_{index} <- a_{index} + val
Definition at line 63 of file AlephCudaMatrix.h.
Referenced by Arcane::CNC_Matrix::add().
|
inline |
removes all the coefficients and frees the allocated space.
Definition at line 103 of file AlephCudaMatrix.h.
Referenced by Arcane::CNC_Matrix::clear().
|
inline |
Definition at line 59 of file AlephCudaMatrix.h.
|
inline |
Definition at line 60 of file AlephCudaMatrix.h.
|
inlineprotected |
Definition at line 120 of file AlephCudaMatrix.h.
|
inline |
Definition at line 58 of file AlephCudaMatrix.h.
|
inline |
sorts the coefficients by increasing index
Definition at line 92 of file AlephCudaMatrix.h.
Referenced by Arcane::CNC_Matrix::sort().
|
inline |
removes all the coefficients, but keeps the allocated space, that will be used by subsequent calls to add().
Definition at line 116 of file AlephCudaMatrix.h.
Referenced by Arcane::CNC_Matrix::zero().
|
private |
Definition at line 131 of file AlephCudaMatrix.h.
|
private |
Definition at line 129 of file AlephCudaMatrix.h.
|
private |
Definition at line 130 of file AlephCudaMatrix.h.