#include <cyqlone/sparse.hpp>
A builder for constructing a SparseMatrix incrementally.
Definition at line 37 of file sparse.hpp.
|
| void | add (index_t row, index_t col, real_t value) |
| template<std::convertible_to< real_t > T, class I, class S, guanaqo::StorageOrder O> |
| void | add (index_t row, index_t col, guanaqo::MatrixView< T, I, S, O > dense, std::remove_cvref_t< T > scale=1, batmat::linalg::MatrixStructure structure=batmat::linalg::MatrixStructure::General) |
| void | add_diag (index_t row, index_t col, real_t value, index_t n) |
| SparseMatrix | build () const & |
| SparseMatrix | build () && |
◆ add() [1/2]
| void cyqlone::SparseMatrixBuilder::add |
( |
index_t | row, |
|
|
index_t | col, |
|
|
real_t | value ) |
|
inline |
◆ add() [2/2]
◆ add_diag()
| void cyqlone::SparseMatrixBuilder::add_diag |
( |
index_t | row, |
|
|
index_t | col, |
|
|
real_t | value, |
|
|
index_t | n ) |
|
inline |
◆ build() [1/2]
| SparseMatrix cyqlone::SparseMatrixBuilder::build |
( |
| ) |
const & |
|
inlinenodiscard |
◆ build() [2/2]
◆ rows
| index_t cyqlone::SparseMatrixBuilder::rows = -1 |
◆ cols
| index_t cyqlone::SparseMatrixBuilder::cols = -1 |
◆ symmetry
| Symmetry cyqlone::SparseMatrixBuilder::symmetry = Symmetry::Unsymmetric |
◆ row_indices
| std::vector<index_t> cyqlone::SparseMatrixBuilder::row_indices {} |
◆ col_indices
| std::vector<index_t> cyqlone::SparseMatrixBuilder::col_indices {} |
◆ values
| std::vector<real_t> cyqlone::SparseMatrixBuilder::values {} |
The documentation for this struct was generated from the following file: