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.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.