linmap

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

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

Meta