sign x
When x is real, then this returns 1 if it is positive, -1 if it is negative, and 0 if it is zero.
|
|
|
If x is complex and nonzero, then this returns $x/|x|$.
|
The object sign is a method function.
The source of this document is in Macaulay2Doc/functions/sign-doc.m2:30:0.