1#ifndef TATAMI_CHUNKED_DENSE_SLAB_FACTORY_HPP
2#define TATAMI_CHUNKED_DENSE_SLAB_FACTORY_HPP
24template<
typename Value_>
52 size_t my_offset = 0, my_slab_size;
53 std::vector<Value_> my_pool;
74 output.data = my_pool.data() + my_offset;
75 my_offset += my_slab_size;
Methods to handle chunked tatami matrices.
Definition ChunkDimensionStats.hpp:4
Statistics for regular chunks along a dimension.
Definition ChunkDimensionStats.hpp:35
Dense slab.
Definition DenseSlabFactory.hpp:59
Value_ * data
Definition DenseSlabFactory.hpp:63
Factory for dense slabs.
Definition DenseSlabFactory.hpp:25
DenseSlabFactory(size_t slab_size, size_t max_slabs)
Definition DenseSlabFactory.hpp:30
DenseSlabFactory(const SlabCacheStats &stats)
Definition DenseSlabFactory.hpp:35
Slab create()
Definition DenseSlabFactory.hpp:72
Statistics for slab caching.
Definition SlabCacheStats.hpp:20