FANDOM


Step

Name Edit

step - implement a step function returning either zero or one

Synopsis Edit

vertex1 step(vertex1 a, vertex1 x);
vertex2 step(vertex2 a, vertex2 x);
vertex3 step(vertex3 a, vertex3 x);
vertex4 step(vertex4 a, vertex4 x);

Parameters Edit

a
Scalar or vector reference value.
x
Scalar or vector.

Description Edit

Implements a step function returning one for each component of x that is greater than or equal to the corresponding component in the reference vector a, and zero otherwise.