Computation :: Parametric Functions

bias(b,x)
Returns the given value with a bias function applied to it.
boxstep(a,b,x)
Returns 0 when (x <= a), 1 when (x >= b), a linear transition from 0 to 1 when (a < x < b), or (-1) on error (a == b).
gain(g,x)
Returns the given value with a gain function applied to it.
gammacorrect(gamma,x);
Returns the given value with gamma correction applied to it.
pulse(a,b,x)
Returns 1 when (a <= x <= b), 0 otherwise.
smoothstep(a,b,x)
Returns 0 when (x < a), 1 when (x >= b), a smooth transition from 0 to 1 otherwise, or (-1) on error (a == b).
spline(t,knotlist)
Returns the Catmull-Rom interpolation of the given knot values at the given parameter position.
spline4(t,knot1,knot2,knot3,knot4)
Returns the Catmull-Rom interpolation of the given knot values at the given parameter position.
step(a,x)
Returns 0 when (x < a), 1 otherwise.