对于任一整数n,符号函数sign(n)的定义如下:
f ( x ) = { − 1 n < 0 0 n = 0 1 n > 0 f(x)= \begin{cases} -1& \text{n < 0}\ 0& \text{n = 0}\ 1& \text{n > 0} \end{cases} f(x)=⎩⎪⎨⎪⎧−101n < 0n = 0n > 0 f ( x ) = { − 1 n < 0 0
对于任一整数n,符号函数sign(n)的定义如下:
f ( x ) = { − 1 n < 0 0 n = 0 1 n > 0 f(x)= \begin{cases} -1& \text{n < 0}\ 0& \text{n = 0}\ 1& \text{n > 0} \end{cases} f(x)=⎩⎪⎨⎪⎧−101n < 0n = 0n > 0 f ( x ) = { − 1 n < 0 0