Jot: Difference between revisions
(Created page with "{{Glyphbox|∘}} The glyph '''jot''' is a small circle represented by the unicode character <code>∘</code>, "ring operator" (<code>◦</code>, "white bullet", may al...") |
m (Link to nil) |
||
Line 2: | Line 2: | ||
The [[glyph]] '''jot''' is a small circle represented by the [[unicode]] character <code>∘</code>, "ring operator" (<code>◦</code>, "white bullet", may also be used in some dialects). Derived from the [[Iverson notation]] convention of using a circle for the top (reducing) function of an [[Inner Product]] to turn it into an [[Outer Product]], the jot now has several uses in various dialects: | The [[glyph]] '''jot''' is a small circle represented by the [[unicode]] character <code>∘</code>, "ring operator" (<code>◦</code>, "white bullet", may also be used in some dialects). Derived from the [[Iverson notation]] convention of using a circle for the top (reducing) function of an [[Inner Product]] to turn it into an [[Outer Product]], the jot now has several uses in various dialects: | ||
* In [[APL\360]] and all other APLs, it is a "special" left operand to [[Inner Product]] (<source lang=apl inline>.</source>), so that (<source lang=apl inline>∘.f</source>) is an [[Outer Product]] by <source lang=apl inline>f</source>. | * In [[APL\360]] and all other APLs, it is a "special" left operand to [[Inner Product]] (<source lang=apl inline>.</source>), so that (<source lang=apl inline>∘.f</source>) is an [[Outer Product]] by <source lang=apl inline>f</source>. | ||
* In [[SHARP APL]], <source lang=apl inline>∘</source> is the [[enclose]]d [[empty]] [[numeric]] [[vector]], which may also be written <source lang=apl inline><⍳0</source>. | * In [[SHARP APL]], <source lang=apl inline>∘</source>, named [[nil]], is the [[enclose]]d [[empty]] [[numeric]] [[vector]], which may also be written <source lang=apl inline><⍳0</source>. | ||
* In [[NARS]], [[Dyalog APL]], and other [[Nested array model|nested]] APLs derived from these, <source lang=apl inline>∘</source> is the [[Compose]] [[operator]]. | * In [[NARS]], [[Dyalog APL]], and other [[Nested array model|nested]] APLs derived from these, <source lang=apl inline>∘</source> is the [[Compose]] [[operator]]. | ||
* In [[NARS]] and [[NARS2000]], for an array <source lang=apl inline>a</source>, <source lang=apl inline>a∘/</source> is [[Mask]] and <source lang=apl inline>a∘\</source> is [[Mesh]]. | * In [[NARS]] and [[NARS2000]], for an array <source lang=apl inline>a</source>, <source lang=apl inline>a∘/</source> is [[Mask]] and <source lang=apl inline>a∘\</source> is [[Mesh]]. |
Revision as of 09:09, 30 April 2020
∘
|
The glyph jot is a small circle represented by the unicode character ∘
, "ring operator" (◦
, "white bullet", may also be used in some dialects). Derived from the Iverson notation convention of using a circle for the top (reducing) function of an Inner Product to turn it into an Outer Product, the jot now has several uses in various dialects:
- In APL\360 and all other APLs, it is a "special" left operand to Inner Product (
.
), so that (∘.f
) is an Outer Product byf
. - In SHARP APL,
∘
, named nil, is the enclosed empty numeric vector, which may also be written<⍳0
. - In NARS, Dyalog APL, and other nested APLs derived from these,
∘
is the Compose operator. - In NARS and NARS2000, for an array
a
,a∘/
is Mask anda∘\
is Mesh.
Thus jot may be considered either a special element of syntax as in APL\360, an array as in SHARP APL, or an operator. In the last case it would not normally be allowed as an operand to the Inner Product operator, and a special rule is needed to allow the Outer Product syntax. As a final option, APL2 allows a jot only in the context of an Outer Product like APL\360, but documents that jot "is treated syntactically as a function."[1]
References
- ↑ IBM. "APL2 Programming: Language Reference". 1994. p.24.
APL glyphs [edit] | |
---|---|
Information | Glyph ∙ Typing glyphs (on Linux) ∙ Unicode ∙ Fonts ∙ Mnemonics ∙ Overstrikes ∙ Migration level |
Individual glyphs | Jot (∘ ) ∙ Right Shoe (⊃ ) ∙ Up Arrow (↑ ) ∙ Zilde (⍬ ) ∙ High minus (¯ ) ∙ Dot (. ) ∙ Del (∇ )
|