mir-algorithm ~master (2021-09-24T13:11:04Z)
Dub
Repo
assumeSortedEqualIndex.assumeSortedEqualIndex
mir
ndslice
sorting
assumeSortedEqualIndex
Undocumented in source.
sizediff_t
assumeSortedEqualIndex
(Slice!(Iterator, 1, kind) slice, V v)
sizediff_t
assumeSortedEqualIndex
(T[] ar, V v)
alias
assumeSortedEqualIndex
=
.
assumeSortedEqualIndex
!(
naryFun
!
test
)
template
assumeSortedEqualIndex
(alias test = "a < b")
@
optmath
static if
(!(
__traits(isSame, naryFun!test, test)
))
alias
assumeSortedEqualIndex
= .
assumeSortedEqualIndex
!(
naryFun
!
test
)
Meta
Source
See Implementation
mir
ndslice
sorting
assumeSortedEqualIndex
functions
assumeSortedEqualIndex