Comparison of APL dialects: Difference between revisions

Jump to navigation Jump to search
→‎Conformability: Frame conformability
(Conformability section)
(→‎Conformability: Frame conformability)
Line 32: Line 32:


All APLs implement [[scalar extension]] in [[scalar dyadic]] functions, and [[Each]] if present. However, a few dialects differ in their support for [[singleton extension]]. Most support it fully, so that a singleton of any rank is extended. [[APL2]] supports it only for scalars and one-element vectors (and [[ISO/IEC_13751:2001]] specifies only this behavior), and [[dzaima/APL]] and [[Kap]] support scalar extension only.
All APLs implement [[scalar extension]] in [[scalar dyadic]] functions, and [[Each]] if present. However, a few dialects differ in their support for [[singleton extension]]. Most support it fully, so that a singleton of any rank is extended. [[APL2]] supports it only for scalars and one-element vectors (and [[ISO/IEC_13751:2001]] specifies only this behavior), and [[dzaima/APL]] and [[Kap]] support scalar extension only.
Furthermore, dialects that implement the [[Rank operator]] differ in their conformability rules for frames. [[Dyalog APL]] and [[SHARP APL]] implement scalar agreement only, [[NARS2000]] implements singleton agreement, and [[A+]] implements leading axis agreement (in addition to extra options allowing the programmer to specify outer-product-like treatment of some axes).


== Depth ==
== Depth ==

Navigation menu