The OpenD Programming Language

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)

Templates

chunks
template chunks(Dimensions...)

Creates Chunks.

isChunks
template isChunks(T)

Checks if T is Chunks type.

Meta

Authors

Ilia Ki