mir-algorithm ~master (2021-09-24T13:11:04Z)
Dub
Repo
findInterval.findInterval
mir
interpolate
findInterval
Interval index for x value given.
template
findInterval
(size_t dimension = 0)
@
trusted
@
optmath
size_t
findInterval
(
Interpolant
X
)
(
auto
ref
const
Interpolant
interpolant
,
in
X
x
)
Parameters
interpolant
Interpolant
interpolant
x
X
X value
Meta
Source
See Implementation
mir
interpolate
findInterval
functions
findInterval
Interval index for x value given.