Symbol Zilde: Difference between revisions
From NARS2000
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
<h2> {zilde} — Represents an '''empty numeric vector''' or ''zero plus tilde'' (hence zilde) — Keystroke Alt + Shift + } — Character | <h2> {zilde} — Represents an '''empty numeric vector''' or ''zero plus tilde'' (hence zilde) — Keystroke Alt + Shift + } — Character | ||
==Usage== | ==Usage== | ||
<apll> ⌊/⍬<br /> | <apll> ⌊/⍬<br /> | ||
Line 14: | Line 14: | ||
{{Page | {{Page Footer|12|Z}} |
Revision as of 03:21, 13 October 2019
⍬ — Represents an empty numeric vector or zero plus tilde (hence zilde) — Keystroke Alt + Shift + } — Character
Usage
⌊/⍬
∞
⌈/⍬
¯∞
Symbolically zero or 0 represents number while tilde or ∼ represents not. Together the overstrike zilde symbol or ⍬ means not a number, i.e. empty numeric vector. APL frequently uses overstrike characters in dual-combined meaning, thus ⍞ which is ⎕ or prompt and the single quote symbol yielding prompt for string or character input versus ⎕ or prompt for numeric input.
Example
The above examples for infinity and negative infinity correctly run in NARS2000. In theory ONLY - ⍬ would be hypothetically equivalent to ⍳0 or 0⍴N (where N is any number) since zilde or ⍬ represents an empty numeric vector.
See Also
∞
⌈/⍬
¯∞