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.
- map_range(x, a1, a2, b1, b2)
- Returns a value remapped from one range to another.
- 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.
- 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.