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.
dataLow
lowest expected value from a data set
dataHigh
highest expected value from a data set
normalizedLow
normalized lowest value
normalizedHigh
normalized highest value