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 /build/reproducible-path/macaulay2-1.25.05+ds/M2/Macaulay2/packages/Macaulay2Doc/functions/sign-doc.m2:30:0.