The OpenD Programming Language

minPos.minPos

template minPos(alias pred = "a < b")
static if(__traits(isSame, naryFun!pred, pred))
Slice!(Iterator, N,
kind == Contiguous &&
N > 1
? Canonical : kind)
minPos
(
Iterator
size_t N
SliceKind kind
)
(
Slice!(Iterator, N, kind) slice
)

Parameters

slice Slice!(Iterator, N, kind)

ndslice.

Return Value

Type: Slice!(Iterator, N,
kind == Contiguous &&
N > 1
? Canonical : kind)

Multidimensional backward index such that element is minimal(maximal). Backward index equals zeros, if slice is empty.

Meta