WLJS LogoWLJS Notebook

HeavisideTheta

HeavisideTheta[x] represents the Heaviside theta function θ(x), equal to 0 for x < 0 and 1 for x > 0.

  • HeavisideTheta[x1, x2, …] represents the multidimensional Heaviside theta function, which is 1 only if all of the xi are positive.

Examples

HeavisideTheta[1]
Plot[HeavisideTheta[x], {x, -2, 2}]

Please visit the official Wolfram Language Reference for more details.

On this page