findInterval.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