uniform.left

uniform.left(a : number) 🡒 zedfunc, pure function

Returns the constant function $f: x \mapsto 1$ on the segment $]-\infty, a]$ and zero otherwise. The argument a must be an integer or the function fails.

Example:

show scalar "" a1b2 with uniform.left(5)