Skip to content

fit10

float  fit10(float value, float nmin, float nmax)

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

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