4,505
edits
m (Text replacement - "http://help.dyalog.com" to "https://help.dyalog.com") |
No edit summary |
||
Line 1: | Line 1: | ||
{{Built-in|Signum|×}} | {{Infobox terminology | ||
| en = Signum, Sign, Sign of, Direction | |||
| de = Vorzeichen, Signum | |||
| fr = Signe, Signum, Diréction | |||
}} | |||
{{Built-in|Signum|×}} is a [[monadic]] [[scalar function]] which returns the [[wikipedia:Sign function|sign]] of a real or [[complex]] number. That is, it returns 0 when given an argument of 0, and otherwise returns a number with [[magnitude]] 1 given by [[Divide|dividing]] the argument by its own magnitude. | |||
== Examples == | == Examples == |