public interface IlvValueNormalizer
The original value range may be a finite or infinite interval. The mapping is monotonic. The lower bound is mapped to the normalized value 0; the upper bound is mapped to the normalized value 1.
The mapping may or may not be linear.
Modifier and Type | Method and Description |
---|---|
double |
normalize(double value)
Maps a value of the original value range to the interval [0,1].
|
double |
normalizeInverse(double normalizedValue)
Maps a normalized value back to the original value range.
|
double normalize(double value)
double normalizeInverse(double normalizedValue)
normalizedValue
- A number in the range
0 ≤ normalizedValue ≤ 1.© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.