1#ifndef TATAMI_CHUNKED_CHUNK_DIMENSION_STATS_HPP
2#define TATAMI_CHUNKED_CHUNK_DIMENSION_STATS_HPP
16template<
typename Index_>
19 return left / right + (left % right > 0);
34template<
typename Index_>
84template<
typename Index_>
Methods to handle chunked tatami matrices.
Definition ChunkDimensionStats.hpp:4
Index_ get_chunk_length(const ChunkDimensionStats< Index_ > &stats, Index_ i)
Definition ChunkDimensionStats.hpp:85
Index_ integer_ceil(Index_ left, Index_ right)
Definition ChunkDimensionStats.hpp:17
Statistics for regular chunks along a dimension.
Definition ChunkDimensionStats.hpp:35
Index_ chunk_length
Definition ChunkDimensionStats.hpp:61
ChunkDimensionStats(Index_ dimension_extent, Index_ chunk_length)
Definition ChunkDimensionStats.hpp:40
ChunkDimensionStats()
Definition ChunkDimensionStats.hpp:50
Index_ num_chunks
Definition ChunkDimensionStats.hpp:66
Index_ dimension_extent
Definition ChunkDimensionStats.hpp:55
Index_ last_chunk_length
Definition ChunkDimensionStats.hpp:73