|
tatami_chunked
Helpers to create custom chunked tatami matrices
|
Methods to handle chunked tatami matrices. More...
Classes | |
| struct | ChunkDimensionStats |
| Statistics for regular chunks along a dimension. More... | |
| class | CustomDenseChunkedMatrix |
| Matrix of custom dense chunks. More... | |
| class | CustomDenseChunkedMatrixManager |
Manager of chunks for a CustomDenseChunkedMatrix. More... | |
| struct | CustomDenseChunkedMatrixOptions |
Options for data extraction from a CustomDenseChunkedMatrix. More... | |
| class | CustomDenseChunkedMatrixWorkspace |
Workspace for extracting data from a CustomDenseChunkedMatrixManager. More... | |
| class | CustomSparseChunkedMatrix |
| Matrix of custom sparse chunks. More... | |
| class | CustomSparseChunkedMatrixManager |
Manager of chunks for a CustomSparseChunkedMatrix. More... | |
| struct | CustomSparseChunkedMatrixOptions |
Options for data extraction from a CustomSparseChunkedMatrix. More... | |
| class | CustomSparseChunkedMatrixWorkspace |
Workspace for extracting data from a CustomSparseChunkedMatrixManager. More... | |
| class | DenseSlabFactory |
| Factory for dense slabs. More... | |
| class | LruSlabCache |
| Least-recently-used cache for slabs. More... | |
| class | OracularSlabCache |
| Oracular-aware cache for slabs. More... | |
| class | OracularSubsettedSlabCache |
| Oracle-aware cache for slabs, plus subsets. More... | |
| struct | OracularSubsettedSlabCacheSelectionDetails |
Details on the subset to extract in OracularSubsettedSlabCache. More... | |
| class | OracularVariableSlabCache |
| Oracle-aware cache for variable-size slabs. More... | |
| struct | SlabCacheStats |
| Statistics for slab caching. More... | |
| class | SparseSlabFactory |
| Factory for sparse slabs. More... | |
Enumerations | |
| enum class | OracularSubsettedSlabCacheSelectionType : char { FULL , BLOCK , INDEX } |
Functions | |
| template<typename Index_ > | |
| Index_ | integer_ceil (Index_ left, Index_ right) |
| template<typename Index_ > | |
| Index_ | get_chunk_length (const ChunkDimensionStats< Index_ > &stats, Index_ i) |
Methods to handle chunked tatami matrices.
|
strong |
Type of selection on the target dimension. Used to determine the subsets to extract in OracularSubsettedSlabCache.
FULL: all rows/columns.BLOCK: a contiguous block of rows/columns.INDEX: an indexed subset of rows/columns. | Index_ tatami_chunked::integer_ceil | ( | Index_ | left, |
| Index_ | right ) |
| Index_ | Integer type. |
Obtain the integer ceiling of left/right.
| left | A non-negative number. |
| right | A non-negative number. |
right > 0, otherwise 0. | Index_ tatami_chunked::get_chunk_length | ( | const ChunkDimensionStats< Index_ > & | stats, |
| Index_ | i ) |
| Index_ | Integer type for the various dimensions. |
| stats | Chunk dimension statistics. |
| i | Zero-based index of the chunk of interest along the relevant dimension. |
i. This is either ChunkDimensionStats::chunk_length or ChunkDimensionStats::last_chunk_length, depending on whether i is the last chunk.