The OpenD Programming Language

byDim.byDim

template byDim(SDimensions...)
static if(allSatisfy!(isSizediff_t, SDimensions))
byDim
(
Iterator
size_t N
SliceKind kind
)
(
Slice!(Iterator, N, kind) slice
)
if (
N >= SDimensions.length
)
if (
SDimensions.length > 0
)

Parameters

slice Slice!(Iterator, N, kind)

input n-dimensional slice, n >= d

Return Value

Type: auto

d-dimensional slice composed of (n-d)-dimensional slices

Meta