mir.ndslice.chunks

This is a submodule of mir.ndslice.

The module contains _chunks routine. Chunks structure is multidimensional random access range with slicing.

slicedField, slicedNdField can be used to construct ndslice view on top of Chunks.

Members

Functions

chunks
Chunks!([0], Iterator, N, kind) chunks(Slice!(Iterator, N, kind) slice, size_t chunkLength)

Creates Chunks.

popFrontTuple
void popFrontTuple(Master master, Followers followers)

Evaluates popFront!dimmensionIndex for multiple Chunks structures at once. All chunks structures must have for the appropriate dimension the same chunk lengths and the same underlying slice lengths.

Structs

Chunks
struct Chunks(size_t[] dimensions, Iterator, size_t N = 1, SliceKind kind = Contiguous)
ChunksDollar
struct ChunksDollar()
Undocumented in source.
ChunksSlice
struct ChunksSlice()
Undocumented in source.

Templates

chunks
template chunks(Dimensions...)

Creates Chunks.

isChunks
template isChunks(T)

Checks if T is Chunks type.

Meta

License

Apache-2.0

Authors

Ilya Yaroshenko