|
tatami_chunked
Helpers to create custom chunked tatami matrices
|
Manager of chunks for a CustomDenseChunkedMatrix.
More...
#include <CustomDenseChunkedMatrix.hpp>
Public Member Functions | |
| virtual std::unique_ptr< CustomDenseChunkedMatrixWorkspace< ChunkValue_, Index_ > > | new_workspace () const =0 |
| std::unique_ptr< CustomDenseChunkedMatrixWorkspace< 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 CustomDenseChunkedMatrix.
| ChunkValue_ | Numeric type of the data values in each chunk. |
| Index_ | Integer type for the row/column indices of the CustomDenseChunkedMatrix. |
|
pure virtual |
CustomDenseChunkedMatrixWorkspace instance to unpack each chunk of interest.
|
inline |
CustomDenseChunkedMatrixWorkspace 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 CustomDenseChunkedMatrixWorkspace subclass, rather than to the base class. This provides some devirtualization opportunities within CustomDenseChunkMatrix when Manager_ is hard-coded to a specific CustomDenseChunkedMatrixManager subclass.
|
pure virtual |
|
pure virtual |
In all calls to CustomDenseChunkedMatrixManager::extract(), each chunk_row_id will be less than the ChunkDimensionsStats::num_chunks of the return value.
|
pure virtual |
In all calls to CustomDenseChunkedMatrixManager::extract(), each chunk_column_id will be less than the ChunkDimensionsStats::num_chunks of the return value.