APLX: Difference between revisions

From APL Wiki
Jump to navigation Jump to search
Miraheze>Marshall
Miraheze>Marshall
Line 104: Line 104:
| <code>⊖</code> ||                      || [[Rotate First|1st axis rotate]]
| <code>⊖</code> ||                      || [[Rotate First|1st axis rotate]]
|-
|-
| <code>⍉</code> || [[Transpose]]         ||
| <code>⍉</code> ||colspan=2| [[Transpose]]
|-
|-
| <code>↑</code> || [[First]]            || [[Take]]
| <code>↑</code> || [[First]]            || [[Take]]
Line 116: Line 116:
| <code>⌷</code> ||                      || [[Squad Index|Index]]
| <code>⌷</code> ||                      || [[Squad Index|Index]]
|-
|-
| <code>⍋</code> || [[Grade up]]         ||
| <code>⍋</code> ||colspan=2| [[Grade up]]
|-
|-
| <code>⍒</code> || [[Grade down]]       ||
| <code>⍒</code> ||colspan=2| [[Grade down]]
|-
|-
| <code>⊤</code> ||                      || [[Encode]]
| <code>⊤</code> ||                      || [[Encode]]
Line 124: Line 124:
| <code>⊥</code> ||                      || [[Decode]]
| <code>⊥</code> ||                      || [[Decode]]
|-
|-
| <code>⍺</code> ||                      || [[Picture format]]
| <code>⍺</code> ||                      || Picture format
|-
|-
| <code>⍕</code> || [[Format]]            || [[Dyadic format|Format]] by specification or by example
| <code>⍕</code> || [[Format]]            || [[Dyadic format|Format]] by specification or by example
Line 141: Line 141:
|-
|-
| <code>⍀</code> ||                      || [[Expand First|1st axis expand]]
| <code>⍀</code> ||                      || [[Expand First|1st axis expand]]
|}
=== Operators ===
{| class=wikitable
! Glyph          !! Valence !! Monadic call                    !! Dyadic call
|-
| <code>/</code>  || Monadic || [[Reduce]]                      || [[N-wise Reduce]]
|-
| <code>⌿</code>  || Monadic || [[Reduce First|1st axis reduce]] || [[N-wise Reduce first]]
|-
| <code>\</code>  || Monadic || [[Scan]]                        ||
|-
| <code>⍀</code>  || Monadic || [[Scan First|1st axis scan]]    ||
|-
| <code>.</code>  || Dyadic  ||                                  || [[Inner product]]
|-
| <code>∘.</code> || Monadic ||                                  || [[Outer product]]
|-
| <code>¨</code>  || Monadic ||colspan=2| [[Each]]
|}
|}



Revision as of 09:19, 29 October 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. APLX version 3 was released in April and May 2005. 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, authors of Dyalog APL, began hosting the APLX Archive website including the download area and documentation.

Primitives

Functions

Glyph Monadic Dyadic
+ Conjugate Add
- Negate Subtract
× Sign of Multiply
÷ Reciprocal Divide
Ceiling Greater of
Floor Lesser of
| Absolute value Residue
Index list Index of
? Roll Deal
* Exponential To the power of
Natural log Log to the base
Pi times Circular and Hyperbolic functions
! Factorial Binomial
Matrix inverse Matrix divide
< Less than
Less than or equal
= Equal
Greater than or equal
> Greater than
Not equal
Depth Match
Not Match
Enlist Membership
Find
Unique Union
Intersection
~ Not Without
Or
^ And
Nor
Nand
Shape of Reshape
, Ravel Catenate, Laminate
1st axis catenate
Reverse Rotate
1st axis rotate
Transpose
First Take
Drop
Enclose Partition
Mix ("Disclose") Pick
Index
Grade up
Grade down
Encode
Decode
Picture format
Format Format by specification or by example
Execute
Stop Left
Pass Right
/ Compress, Replicate
1st axis compress/replicate
\ Expand
1st axis expand

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

External links

Template:APL programming language