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