Atomic vector: Difference between revisions

From APL Wiki
Jump to navigation Jump to search
No edit summary
Line 26: Line 26:
The '''Unicode Atomic Vector''' (<source lang=apl inline>⎕AVU</source>) defines characters in <source lang=apl inline>⎕AV</source> as a list of Unicode code points.
The '''Unicode Atomic Vector''' (<source lang=apl inline>⎕AVU</source>) defines characters in <source lang=apl inline>⎕AV</source> as a list of Unicode code points.


== Links ==
== External links ==
* [https://help.dyalog.com/18.0/index.htm#Language/System%20Functions/av.htm Dyalog version 18.0 – Atomic Vector]
=== Documentation ===
* Mastering Dyalog APL: [https://www.dyalog.com/uploads/documents/MasteringDyalogAPL.pdf#page=525 page 525]
* [http://microapl.com/apl_help/ch_020_070_060.htm APLX]
* [[Adám Brudzewsky]]'s [https://github.com/abrudz/SBCS Single-byte character set (SBCS)]
* [https://help.dyalog.com/latest/index.htm#Language/System%20Functions/av.htm Dyalog]
 
=== References ===
<references/>
{{APL built-ins}}
[[Category:System constants]]
[[Category:System constants]]

Revision as of 04:21, 7 July 2020

Atomic vector (⎕AV) contains 256 characters. This was the entire character set in some of the older interpreters that did not support Unicode.

In Dyalog APL:

      6 41⍴10↓⎕AV
⌶ɫ%'⍺⍵_abcdefghijklmnopqrstuvwxyz��¯.⍬012
3456789�⊢¥$£¢∆ABCDEFGHIJKLMNOPQRSTUVWXYZ�
�ý·?⍙ÁÂÃÇÈÊËÌÍÎÏÐÒÓÔÕÙÚÛÝþãìðòõ{€}⊣⌷¨ÀÄÅÆ
⍨ÉÑÖØÜßàáâäåæçèéêëíîïñ[/⌿\⍀<≤=≥>≠∨∧-+÷×?∊
⍴~↑↓⍳○*⌈⌊∇∘(⊂⊃∩∪⊥⊤|;,⍱⍲⍒⍋⍉⌽⊖⍟⌹!⍕⍎⍫⍪≡≢óôöø
"#�&´┘┐┌└┼─├┤┴┬│@ùúû^ü`∣¶:⍷¿¡⋄←→⍝)]� §⎕⍞⍣

In GNU APL:

      5 45⍴31↓⎕AV
 !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJK
LMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwx
yz{|}~¥€⇄∧∼≬⋆⋸⌸⌺⌼μ⍁¡⍣⍅⎕⍞⌹⍆⍤⍇⍈⍊⊤λ⍍⍏£⊥⍶⌶⍐⍑χ≢⍖⍗
⍘⍚⍛⌈⍜⍢∪⍨⍕⍎⍬⍪∣│┤⍟∆∇→╣║╗╝←⌊┐└┴┬├─┼↑↓╔╚╩╦╠═╬≡⍸⍷∵
⌷⍂⌻⊢⊣◊┘┌█▄▌▐▀⍺⍹⊂⊃⍝⍲⍴⍱⌽⊖○∨⍳⍉∈∩⌿⍀≥≤≠×÷⍙∘⍵⍫⍋⍒¯¨ 

⎕AV is obsolete in Dyalog APL since Unicode Edition was introduced. It no longer contains all the glyphs used for primitive functions and operators in Dyalog APL.

The Unicode Atomic Vector (⎕AVU) defines characters in ⎕AV as a list of Unicode code points.

External links

Documentation

References


APL built-ins [edit]
Primitives (Timeline) Functions
Scalar
Monadic ConjugateNegateSignumReciprocalMagnitudeExponentialNatural LogarithmFloorCeilingFactorialNotPi TimesRollTypeImaginarySquare Root
Dyadic AddSubtractTimesDivideResiduePowerLogarithmMinimumMaximumBinomialComparison functionsBoolean functions (And, Or, Nand, Nor) ∙ GCDLCMCircularComplexRoot
Non-Scalar
Structural ShapeReshapeTallyDepthRavelEnlistTableCatenateReverseRotateTransposeRazeMixSplitEncloseNestCut (K)PairLinkPartitioned EnclosePartition
Selection FirstPickTakeDropUniqueIdentityStopSelectReplicateExpandSet functions (IntersectionUnionWithout) ∙ Bracket indexingIndexCartesian ProductSort
Selector Index generatorGradeIndex OfInterval IndexIndicesDealPrefix and suffix vectors
Computational MatchNot MatchMembershipFindNub SieveEncodeDecodeMatrix InverseMatrix DivideFormatExecuteMaterialiseRange
Operators Monadic EachCommuteConstantReplicateExpandReduceWindowed ReduceScanOuter ProductKeyI-BeamSpawnFunction axis
Dyadic BindCompositions (Compose, Reverse Compose, Beside, Withe, Atop, Over) ∙ Inner ProductDeterminantPowerAtUnderRankDepthVariantStencilCutDirect definition (operator)
Quad names Index originComparison toleranceMigration levelAtomic vector