Go to the first, previous, next, last section, table of contents.


smoothstep

Function: smoothstep { a b x -> r }
file: jobg.t
package: muf
status: alpha

Constructs a function zero below a, one above b and smoothly varying between them.

In the smoothly varying part the computation is:

x = (x - a) / (b - a); return x*x*(3-2*x);


Go to the first, previous, next, last section, table of contents.