APLX: Difference between revisions
Miraheze>Marshall |
Miraheze>Marshall |
||
Line 46: | Line 46: | ||
| <source lang=apl inline>|</source> || [[Absolute value]] || || [[Residue]] || vec | | <source lang=apl inline>|</source> || [[Absolute value]] || || [[Residue]] || vec | ||
|- | |- | ||
| <source lang=apl inline>⍳</source> || [[Iota|Index list]] || || [[Index of]] || | | <source lang=apl inline>⍳</source> || [[Iota|Index list]] || || [[Index of]] || | ||
|- | |- | ||
| <source lang=apl inline>?</source> || [[Roll]] || || [[Deal]] || | | <source lang=apl inline>?</source> || [[Roll]] || || [[Deal]] || | ||
|- | |- | ||
| <source lang=apl inline>*</source> || [[Exponential]] || || [[Power function|To the power of]] || vec | | <source lang=apl inline>*</source> || [[Exponential]] || || [[Power function|To the power of]] || vec | ||
Line 58: | Line 58: | ||
| <source lang=apl inline>!</source> || [[Factorial]] || || [[Binomial]] || vec | | <source lang=apl inline>!</source> || [[Factorial]] || || [[Binomial]] || vec | ||
|- | |- | ||
| <source lang=apl inline>⌹</source> || [[Matrix inverse]] || || [[Matrix divide]] || | | <source lang=apl inline>⌹</source> || [[Matrix inverse]] || || [[Matrix divide]] || | ||
|- | |- | ||
| <source lang=apl inline><</source> || || || [[Less than]] || vec | | <source lang=apl inline><</source> || || || [[Less than]] || vec | ||
Line 104: | Line 104: | ||
| <source lang=apl inline>⊖</source> || [[Reverse First]] || scal || [[Rotate First|1st axis rotate]] || scal | | <source lang=apl inline>⊖</source> || [[Reverse First]] || scal || [[Rotate First|1st axis rotate]] || scal | ||
|- | |- | ||
| <source lang=apl inline>⍉</source> ||colspan=4 | | <source lang=apl inline>⍉</source> ||colspan=4| [[Transpose]] | ||
|- | |- | ||
| <source lang=apl inline>↑</source> || [[First]] || || [[Take]] || vec | | <source lang=apl inline>↑</source> || [[First]] || || [[Take]] || vec | ||
Line 116: | Line 116: | ||
| <source lang=apl inline>⌷</source> || || || [[Squad Index|Index]] || vec | | <source lang=apl inline>⌷</source> || || || [[Squad Index|Index]] || vec | ||
|- | |- | ||
| <source lang=apl inline>⍋</source> ||colspan=4 | | <source lang=apl inline>⍋</source> ||colspan=4| [[Grade up]] | ||
|- | |- | ||
| <source lang=apl inline>⍒</source> ||colspan=4 | | <source lang=apl inline>⍒</source> ||colspan=4| [[Grade down]] | ||
|- | |- | ||
| <source lang=apl inline>⊤</source> || || || [[Encode]] || | | <source lang=apl inline>⊤</source> || || || [[Encode]] || |
Revision as of 12:48, 1 November 2019
APLX was a cross-platform dialect of the programming language APL, created by British company MicroAPL Ltd., as a successor to their APL.68000 product.
APLX is intended for uses such as financial planning, market research, statistics, management information, and various kinds of scientific and engineering work. APLX is based on IBM's APL2, but includes several extensions. It is available on Microsoft Windows, Linux, and macOS. Though APLX keeps APL's extended character set, APLX is a bit more verbose, due to the prevalence of system functions with long names, and the use of structured-control keywords. The use of explicit loops is a major deviation from earlier APL versions and derivatives.
Effective July 11, 2016, MicroAPL withdrew APLX from commercial sale. British firm Dyalog Ltd., authors of Dyalog APL, began hosting the APLX Archive website including the download area and documentation.
Primitives
Functions
Operators
Glyph | Valence | Monadic call | Dyadic call |
---|---|---|---|
/ |
Monadic | Reduce | N-wise Reduce |
⌿ |
Monadic | 1st axis reduce | N-wise Reduce first |
\ |
Monadic | Scan | |
⍀ |
Monadic | 1st axis scan | |
. |
Dyadic | Inner product | |
∘. |
Monadic | Outer product | |
¨ |
Monadic | Each |