mir-algorithm ~master (2021-09-24T13:11:04Z)
Dub
Repo
minmaxIndex.minmaxIndex
mir
algorithm
iteration
minmaxIndex
Undocumented in source.
size_t
[
N
][
2
]
minmaxIndex
(Slice!(Iterator, N, kind) slice)
alias
minmaxIndex
=
.
minmaxIndex
!(
naryFun
!
pred
)
template
minmaxIndex
(alias pred = "a < b")
@
optmath
static if
(!(
__traits(isSame, naryFun!pred, pred)
))
alias
minmaxIndex
= .
minmaxIndex
!(
naryFun
!
pred
)
Meta
Source
See Implementation
mir
algorithm
iteration
minmaxIndex
functions
minmaxIndex