tatami_chunked
Helpers to create custom chunked tatami matrices
|
Manager of chunks for a CustomSparseChunkedMatrix
.
More...
#include <CustomSparseChunkedMatrix.hpp>
Public Member Functions | |
virtual std::unique_ptr< CustomSparseChunkedMatrixWorkspace< ChunkValue_, Index_ > > | new_workspace () const =0 |
std::unique_ptr< CustomSparseChunkedMatrixWorkspace< ChunkValue_, Index_ > > | new_workspace_exact () const |
virtual bool | prefer_rows () const =0 |
virtual const ChunkDimensionStats< Index_ > & | row_stats () const =0 |
virtual const ChunkDimensionStats< Index_ > & | column_stats () const =0 |
Manager of chunks for a CustomSparseChunkedMatrix
.
ChunkValue_ | Numeric type of the data values in each chunk. |
Index_ | Integer type of the row/column indices of the CustomSparseChunkedMatrix . |
|
pure virtual |
CustomSparseChunkedMatrixWorkspace
instance to unpack each chunk of interest.
|
inline |
CustomSparseChunkedMatrixWorkspace
instance (or any of its subclasses) to unpack each chunk of interest.This is a non-virtual counterpart to new_workspace()
that may optionally be shadowed by a method with the same signature in each subclass. If implemented in a subclass, this should return a pointer to its specific CustomSparseChunkedMatrixWorkspace
subclass, rather than to the base class. This provides some devirtualization opportunities within CustomSparseChunkMatrix
when Manager_
is hard-coded to a CustomSparseChunkedMatrixManager
subclass.
|
pure virtual |
|
pure virtual |
In all calls to CustomSparseChunkedMatrixManager::extract()
, each chunk_row_id
will be less than the ChunkDimensionsStats::num_chunks
of the return value.
|
pure virtual |
In all calls to CustomSparseChunkedMatrixManager::extract()
, each chunk_column_id
will be less than the ChunkDimensionsStats::num_chunks
of the return value.