Signum: Difference between revisions

Jump to navigation Jump to search
77 bytes added ,  15:47, 26 October 2020
no edit summary
m (Text replacement - "http://help.dyalog.com" to "https://help.dyalog.com")
No edit summary
Line 1: Line 1:
{{Built-in|Signum|×}}, '''Sign''', '''Sign of''', or '''Direction''' 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.
{{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 ==

Navigation menu