The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
findInterval.findInterval
mir
interpolate
findInterval
Interval index for x value given.
template
findInterval
(size_t dimension = 0)
@
trusted
@
fmamath
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.