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