linearly v0.32.0 • Docs
linearly v0.32.0 / vec4 / efit
Function: efit()
efit(
value
,omin
,omax
,nmin
,nmax
):vec4
Takes the value in the range (omin, omax)
and shifts it to the corresponding value in the new range (nmin, nmax)
. Unlike fit
, this function does not clamp values to the given range. If omin
and omax
are the same, the function returns the average of nmin
and nmax
.
Parameters
• value: vec4
• omin: vec4
• omax: vec4
• nmin: vec4
• nmax: vec4
Returns
See
https://www.sidefx.com/docs/houdini/vex/functions/fit.html