|
| enum | Storage { NONE
, ROWS
, COLUMNS
, ROWS_AND_COLUMNS
} |
Definition at line 136 of file AlephCudaMatrix.h.
◆ Storage
| enum Arcane::CNC_Matrix::Storage |
◆ CNC_Matrix() [1/4]
| Arcane::CNC_Matrix::CNC_Matrix |
( |
long | m, |
|
|
long | n, |
|
|
Storage | storage = ROWS ) |
Constructs an m*n sparse matrix.
- Parameters
-
| Storage | can be one of ROWS, COLUMNS, ROWS_AND_COLUMNS |
Definition at line 56 of file AlephCudaMatrix.cc.
◆ CNC_Matrix() [2/4]
| Arcane::CNC_Matrix::CNC_Matrix |
( |
long | n | ) |
|
Constructs an n*n sparse matrix, row storage is used, Non symmetric storage is used
Definition at line 72 of file AlephCudaMatrix.cc.
◆ CNC_Matrix() [3/4]
| Arcane::CNC_Matrix::CNC_Matrix |
( |
long | n, |
|
|
Storage | storage, |
|
|
bool | symmetric_storage ) |
Constructs a square n*n sparse matrix.
- Parameters
-
| Storage | can be one of ROWS, COLUMNS, ROWS_AND_COLUMNS |
| symmetric_storage | if set, only entries a_ij such that j <= i are stored. |
Definition at line 64 of file AlephCudaMatrix.cc.
◆ CNC_Matrix() [4/4]
| Arcane::CNC_Matrix::CNC_Matrix |
( |
| ) |
|
◆ ~CNC_Matrix()
| Arcane::CNC_Matrix::~CNC_Matrix |
( |
| ) |
|
◆ add()
| void Arcane::CNC_Matrix::add |
( |
long | i, |
|
|
long | j, |
|
|
double | val ) |
◆ allocate()
| void Arcane::CNC_Matrix::allocate |
( |
long | m, |
|
|
long | n, |
|
|
Storage | storage, |
|
|
bool | symmetric = false ) |
◆ clear()
| void Arcane::CNC_Matrix::clear |
( |
| ) |
|
◆ column() [1/2]
◆ column() [2/2]
storage should be one of COLUMNS, ROWS_AND_COLUMNS
- Parameters
-
| i | index of the column, in the range [0, n-1] |
Definition at line 217 of file AlephCudaMatrix.cc.
◆ columns_are_stored()
| bool Arcane::CNC_Matrix::columns_are_stored |
( |
| ) |
const |
◆ deallocate()
| void Arcane::CNC_Matrix::deallocate |
( |
| ) |
|
◆ diag()
| double Arcane::CNC_Matrix::diag |
( |
long | i | ) |
const |
◆ diag_size()
| long Arcane::CNC_Matrix::diag_size |
( |
| ) |
const |
◆ has_symmetric_storage()
| bool Arcane::CNC_Matrix::has_symmetric_storage |
( |
| ) |
const |
◆ is_square()
| bool Arcane::CNC_Matrix::is_square |
( |
| ) |
const |
◆ is_symmetric()
| bool Arcane::CNC_Matrix::is_symmetric |
( |
| ) |
const |
◆ m()
| long Arcane::CNC_Matrix::m |
( |
| ) |
const |
◆ n()
| long Arcane::CNC_Matrix::n |
( |
| ) |
const |
◆ nnz()
| long Arcane::CNC_Matrix::nnz |
( |
| ) |
const |
◆ row() [1/2]
◆ row() [2/2]
storage should be one of ROWS, ROWS_AND_COLUMNS
- Parameters
-
| i | index of the row, in the range [0, m-1] |
Definition at line 199 of file AlephCudaMatrix.cc.
◆ rows_are_stored()
| bool Arcane::CNC_Matrix::rows_are_stored |
( |
| ) |
const |
◆ set_symmetric_tag()
| void Arcane::CNC_Matrix::set_symmetric_tag |
( |
bool | x | ) |
|
For symmetric matrices that are not stored in symmetric mode, one may want to give a hint that the matrix is symmetric.
Definition at line 181 of file AlephCudaMatrix.cc.
◆ sort()
| void Arcane::CNC_Matrix::sort |
( |
| ) |
|
◆ storage()
| CNC_Matrix::Storage Arcane::CNC_Matrix::storage |
( |
| ) |
const |
◆ zero()
| void Arcane::CNC_Matrix::zero |
( |
| ) |
|
◆ column_
◆ columns_are_stored_
| bool Arcane::CNC_Matrix::columns_are_stored_ |
|
private |
◆ diag_
| double* Arcane::CNC_Matrix::diag_ |
|
private |
◆ diag_size_
| long Arcane::CNC_Matrix::diag_size_ |
|
private |
◆ m_
| long Arcane::CNC_Matrix::m_ |
|
private |
◆ n_
| long Arcane::CNC_Matrix::n_ |
|
private |
◆ row_
◆ rows_are_stored_
| bool Arcane::CNC_Matrix::rows_are_stored_ |
|
private |
◆ storage_
| Storage Arcane::CNC_Matrix::storage_ |
|
private |
◆ symmetric_storage_
| bool Arcane::CNC_Matrix::symmetric_storage_ |
|
private |
◆ symmetric_tag_
| bool Arcane::CNC_Matrix::symmetric_tag_ |
|
private |
The documentation for this class was generated from the following files: