normalize
open fun normalize(x: Double, dataLow: Double, dataHigh: Double, normalizedLow: Double, normalizedHigh: Double): Double
Scale a value from an arbitrary range to a normalized range.
Return
The result of the normalization.
Parameters
x
The value to be normalized.
data Low
lowest expected value from a data set
data High
highest expected value from a data set
normalized Low
normalized lowest value
normalized High
normalized highest value