#include <alpaqa/config/config.hpp>#include <alpaqa/export.hpp>#include <cassert>#include <concepts>#include <variant>
 Include dependency graph for sparsity.hpp:
 This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| struct | Dense< Conf > | 
| Dense matrix structure.  More... | |
| struct | SparseCSC< Conf, StorageIndex > | 
| Sparse compressed-column structure (CCS or CSC).  More... | |
| struct | SparseCOO< Conf, StorageIndex > | 
| Sparse coordinate list structure (COO).  More... | |
| struct | Sparsity< Conf > | 
| Stores any of the supported sparsity patterns.  More... | |
| struct | overloaded< Ts > | 
Namespaces | |
| namespace | alpaqa | 
| namespace | alpaqa::sparsity | 
| namespace | alpaqa::sparsity::detail | 
Typedefs | |
| template<Config Conf> | |
| using | SparsityVariant = std::variant< Dense< Conf >, SparseCSC< Conf, int >, SparseCSC< Conf, long >, SparseCSC< Conf, long long >, SparseCOO< Conf, int >, SparseCOO< Conf, long >, SparseCOO< Conf, long long > > | 
Enumerations | |
| enum class | Symmetry { Unsymmetric = 0 , Upper = 1 , Lower = 2 } | 
| Describes the symmetry of matrices.  More... | |
Functions | |
| template<class... Ts> | |
| overloaded (Ts...) -> overloaded< Ts... > | |
| template<Config Conf> | |
| bool | is_dense (const Sparsity< Conf > &sp) | 
| Returns true if the sparsity pattern represents a dense matrix.   | |
| template<Config Conf> | |
| length_t< Conf > | get_nnz (const Sparsity< Conf > &sp) | 
| Get the number of structurally nonzero elements.   | |
| template<Config Conf> | |
| Symmetry | get_symmetry (const Sparsity< Conf > &sp) | 
| Returns the symmetry of the sparsity pattern.   | |
| struct alpaqa::sparsity::Dense | 
 Collaboration diagram for Dense< Conf >:| Class Members | ||
|---|---|---|
| length_t | rows = 0 | |
| length_t | cols = 0 | |
| Symmetry | symmetry = Symmetry::Unsymmetric | |