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 $\mathrm{sgn} \colon \mathbb{R} \rightarrow \{-1,0,1\}$ (also called the sign function) is the function |
$$\mathrm{sgn}(x)=\left\{ \begin{array}{ll} | $$\mathrm{sgn}(x)=\left\{ \begin{array}{ll} | ||
1, & x > 0 \\ | 1, & x > 0 \\ |
Revision as of 08:03, 16 June 2016
The signum function $\mathrm{sgn} \colon \mathbb{R} \rightarrow \{-1,0,1\}$ (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.$$