pymel.util.arrays.linstep

linstep(*args, **kwargs)

Returns the value of a linear step function.

Returns 0 if x < min, 1 if x > max, and performs a linear interpolation between 0 and 1 in the interval min to max.

rtype:float

This function has been overriden from pymel.util.mathutils.linstep to work element-wise on iterables

Previous topic

pymel.util.arrays.linmap

Next topic

pymel.util.arrays.log

Core

Core Modules

Other Modules

This Page