Skip to content

fit01

float  fit01(float value, float nmin, float nmax)

<vector> fit01(<vector>value, <vector>nmin, <vector>nmax)

Takes the value in the range (0, 1) and shifts it to the corresponding value in the new range (nmin, nmax). For vectors it does this per-component.