linmap

Map linearly x from the range [a, b] to the range [c, d].

nothrow @nogc pure
T
linmap
(
T
)
(,
T a
,
T b
,
T c
,
T d
)

Meta