mir-algorithm — Libmir Archive
← Libmir Archive
Dlang.org
mir_series.tryGetFirst
mir
series
mir_series
Tries to get the first value, such that
lowerBound <= key_i <= upperBound
.
bool
tryGetFirst
(Index lowerBound, Index upperBound, Value val)
bool
tryGetFirst
(Index lowerBound, Index upperBound, Value val)
struct
mir_series
(IndexIterator_, Iterator_, size_t N_ = 1, SliceKind kind_ = Contiguous)
const
@
serdeIgnore
@
fmamath
bool
tryGetFirst
(
Index
Value
)
(
Index
lowerBound
,
auto
ref
scope
const
Index
upperBound
,
scope
ref
Value
val
)
bool
tryGetFirst
(Index lowerBound, Index upperBound, Value val)
Return Value
Type:
bool
true
on success.
mir
series
mir_series
aliases
Data
Index
IndexIterator
Iterator
constructors
this
functions
asSlice
back
contains
empty
front
get
getExtraVerbose
getVerbose
index
length
lightConst
lightImmutable
lightScope
lowerBound
opAssign
opBinary
opBinaryRight
opDollar
opEquals
opIndex
opIndexAssign
opIndexOpAssign
opSlice
popBack
popBackExactly
popBackN
popFront
popFrontExactly
popFrontN
save
serdeFinalize
toConst
toString
tryGet
tryGetFirst
tryGetFirstUpdateLower
tryGetLast
tryGetLastUpdateKey
tryGetNext
tryGetNextUpdateKey
tryGetPrev
tryGetPrevUpdateKey
upperBound
variables
N
_index
data
kind
Tries to get the first value, such that lowerBound <= key_i <= upperBound.