|
guanaqo
develop
Utilities for scientific software
|
Sparse and dense sparsity descriptors.
Definition in file sparsity.hpp.
#include <guanaqo/linalg/config.hpp>#include <cassert>#include <cstdint>#include <span>#include <variant>Go to the source code of this file.
Classes | |
| struct | guanaqo::linalg::sparsity::Dense |
| Dense matrix structure. More... | |
| struct | guanaqo::linalg::sparsity::SparseCSC< Index, StorageIndex > |
| Sparse compressed-column structure (CCS or CSC). More... | |
| struct | guanaqo::linalg::sparsity::SparseCOO< Index > |
| Sparse coordinate list structure (COO). More... | |
| struct | guanaqo::linalg::sparsity::Sparsity |
| Stores any of the supported sparsity patterns. More... | |
| struct | guanaqo::linalg::sparsity::detail::overloaded< Ts > |
| struct | guanaqo::linalg::Sparsity |
| Stores any of the supported sparsity patterns. More... | |
Namespaces | |
| namespace | guanaqo |
| namespace | guanaqo::linalg |
| namespace | guanaqo::linalg::sparsity |
| namespace | guanaqo::linalg::sparsity::detail |
Typedefs | |
| using | guanaqo::linalg::sparsity::SparsityVariant |
| Helper for Sparsity. | |
Enumerations | |
| enum class | guanaqo::linalg::sparsity::Symmetry : uint8_t { guanaqo::linalg::sparsity::Symmetry::Unsymmetric = 0 , guanaqo::linalg::sparsity::Symmetry::Upper = 1 , guanaqo::linalg::sparsity::Symmetry::Lower = 2 } |
| Describes the symmetry of matrices. More... | |
Functions | |
| const char * | guanaqo::linalg::sparsity::enum_name (Symmetry s) |
| template<class... Ts> | |
| guanaqo::linalg::sparsity::detail::overloaded (Ts...) -> overloaded< Ts... > | |
| bool | guanaqo::linalg::sparsity::is_dense (const Sparsity &sp) |
| Returns true if the sparsity pattern represents a dense matrix. | |
| length_t | guanaqo::linalg::sparsity::get_nnz (const Sparsity &sp) |
| Get the number of structurally nonzero elements. | |
| Symmetry | guanaqo::linalg::sparsity::get_symmetry (const Sparsity &sp) |
| Returns the symmetry of the sparsity pattern. | |
| length_t | guanaqo::linalg::sparsity::num_rows (const Sparsity &sp) |
| Returns the number of rows of the sparsity pattern. | |
| length_t | guanaqo::linalg::sparsity::num_cols (const Sparsity &sp) |
| Returns the number of rows of the sparsity pattern. | |