The OpenD Programming Language

Chunks

Members

Functions

back
auto back()
chunkLengths
size_t[dimensions.length] chunkLengths()

Chunk shape.

empty
bool empty()

ndslice-like primitives

front
auto front()
length
size_t length()
lightConst
auto lightConst()
lightImmutable
auto lightImmutable()
opDollar
ChunksDollar!() opDollar()
opIndex
auto opIndex(Slices slices)
auto opIndex(size_t[dimensions.length] index)
opSlice
Slice!(IotaIterator!size_t) opSlice(size_t i, size_t j)
ChunksSlice!() opSlice(size_t i, ChunksDollar!() j)
popBack
void popBack()
popFront
void popFront()
save
auto save()
select
auto select(size_t index)
auto select(size_t i, size_t j)
shape
size_t[dimensions.length] shape()
slice
Slice!(Iterator, N, kind) slice()

Underlying ndslice. It always correspond to current chunks state. Its shape equal to the concatenation of the all chunks.

Variables

_chunkLengths
size_t[dimensions.length] _chunkLengths;

Chunk shape.

_slice
Slice!(Iterator, N, kind) _slice;

Meta