module Escapist::ScaleHelpers
Direct including types
Defined in:
escapist/cursor.crInstance Method Summary
-
#scale(new_min, new_max, min, max, x)
(b-a)(x - min) f(x) = -------------- + a max - min