tatami_chunked
Helpers to create custom chunked tatami matrices
|
Sparse slab. More...
#include <SparseSlabFactory.hpp>
Public Attributes | |
std::vector< Value_ * > | values |
std::vector< Index_ * > | indices |
Count_ * | number = NULL |
Sparse slab.
std::vector<Value_*> tatami_chunked::SparseSlabFactory< Value_, Index_, Count_ >::Slab::values |
Vector of pointers of length equal to target_dim
. Each pointer corresponds to an element of the target dimension of the slab, and refers to an array with non_target_dim
addressable elements. Each pointer should be used to store the values of the structural non-zeros for that dimension element.
Alternatively, this vector may be empty if needs_value = false
in the SparseSlabFactory
constructor.
std::vector<Index_*> tatami_chunked::SparseSlabFactory< Value_, Index_, Count_ >::Slab::indices |
Vector of pointers of length equal to target_dim
. Each pointer corresponds to an element of the target dimension of the slab, and refers to an array with non_target_dim
addressable elements. Each pointer should be used to store the indices of the structural non-zeros for that dimension element.
Alternatively, this vector may be empty if needs_index = false
in the SparseSlabFactory
constructor.
Pointer to an array with target_dim
addressable elements. Each value stores the number of non-zero elements for each element of the target dimension of the slab, i.e., the number of entries that are filled in the corresponding arrays of values
and indices
. On creation, all entries of this array are set to zero.