Poplar and PopLibs
|
Block Sparse matrix stored as coordinate (COO) or triplets format. More...
#include <SparseStorageFormats.hpp>
Inherits popsparse::Block.
Public Member Functions | |
COOMatrix (std::size_t numNZValues, const std::array< std::size_t, 2 > &blockDimensions_={1, 1}) | |
Constructor to allocate memory. | |
Block Sparse matrix stored as coordinate (COO) or triplets format.
The case of element sparsity is treated as a special case with block size equal to {number of rows in block, number of columns in block} = {1, 1}.