Difference between revisions of "Signum"
From specialfunctionswiki
Line 1: | Line 1: | ||
The signum function (also called the sign function) is the function | The signum function (also called the sign function) is the function | ||
$$\mathrm{sgn}(x)=\left\{ \begin{array}{ll} | $$\mathrm{sgn}(x)=\left\{ \begin{array}{ll} | ||
− | 1 & | + | 1, & x > 0 \\ |
− | 0 & | + | 0, & x = 0 \\ |
− | -1 & | + | -1, & x < 0 |
\end{array} \right.$$ | \end{array} \right.$$ | ||
Revision as of 08:03, 16 June 2016
The signum function (also called the sign function) is the function $$\mathrm{sgn}(x)=\left\{ \begin{array}{ll} 1, & x > 0 \\ 0, & x = 0 \\ -1, & x < 0 \end{array} \right.$$