Jot: Difference between revisions
m (Glyphs category) |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{Glyphbox|∘}} | {{Glyphbox|∘}} | ||
The [[glyph]] '''jot''' is a small circle represented by the [[ | 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>, named [[nil]], 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>. |
Revision as of 11:43, 1 May 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 (∇ )
|