mir-algorithm ~master (2021-09-24T13:11:04Z)
Dub
Repo
mir_series.tryGetPrev
mir
series
mir_series
Tries to get the last value, such that
key_i <= key
.
bool
tryGetPrev
(Index key, Value val)
bool
tryGetPrev
(Index key, Value val)
bool
tryGetPrev
(Index key, Value val)
struct
mir_series
(IndexIterator_, Iterator_, size_t N_ = 1, SliceKind kind_ = Contiguous)
immutable
@
optmath
bool
tryGetPrev
(
Index
Value
)
(
auto
ref
scope
const
Index
key
,
scope
ref
Value
val
)
Return Value
Type:
bool
true
on success.
Meta
Source
See Implementation
mir
series
mir_series
aliases
Data
Index
IndexIterator
Iterator
Key
Time
Value
key
time
value
constructors
this
functions
asSlice
back
contains
data
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
toConst
toString
tryGet
tryGetFirst
tryGetFirstUpdateLower
tryGetLast
tryGetLastUpdateKey
tryGetNext
tryGetNextUpdateKey
tryGetPrev
tryGetPrevUpdateKey
upperBound
variables
N
_data
_index
kind
Tries to get the last value, such that key_i <= key.