Template:APL built-ins: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (add Round and identity operators) |
||
(27 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude>__NOTITLE__</noinclude> | <noinclude>__NOTITLE__</noinclude> | ||
{| class="wikitable <includeonly>{{{1|mw-collapsible mw-collapsed}}}</includeonly>" style="width:100%" | {| class="wikitable <includeonly>{{{1|mw-collapsible mw-collapsed}}}</includeonly>" style="width:100%" | ||
! colspan= | ! colspan=5 | '''<big>APL built-ins</big>''' [[{{fullurl:Template:APL_built-ins|action=edit}} edit]] | ||
|- | |- | ||
! rowspan="9" style="width:6em;" | [[Primitive function]]s | ! rowspan="11 style="width:6em;" | [[Primitive]]s ([[Timeline of APL primitives|Timeline]]) || rowspan="9" style="width:6em;" | [[Primitive function|Function]]s | ||
|- | |- | ||
! rowspan="3" style="width:6em;" | [[Scalar function|Scalar]] | ! rowspan="3" style="width:6em;" | [[Scalar function|Scalar]] | ||
|- | |- | ||
! style="width:6em;" | Monadic | ! style="width:6em;" | Monadic | ||
| [[Conjugate]] ∙ [[Negate]] ∙ [[Signum]] ∙ [[Reciprocal]] ∙ [[Magnitude]] ∙ [[Exponential]] ∙ [[Natural Logarithm]] ∙ [[Floor]] ∙ [[Ceiling]] ∙ [[Factorial]] ∙ [[Not]] ∙ [[Pi Times]] ∙ [[Imaginary]] ∙ [[ | | [[Conjugate]] ∙ [[Negate]] ∙ [[Signum]] ∙ [[Reciprocal]] ∙ [[Magnitude]] ∙ [[Exponential]] ∙ [[Natural Logarithm]] ∙ [[Floor]] ∙ [[Ceiling]] ∙ [[Factorial]] ∙ [[Not]] ∙ [[Pi Times]] ∙ [[Roll]] ∙ [[Type]] ∙ [[Imaginary]] ∙ [[Square Root]] ∙ [[Round]] | ||
|- | |- | ||
! Dyadic | ! Dyadic | ||
| [[Add]] ∙ [[Subtract]] ∙ [[Times]] ∙ [[Divide]] ∙ [[Residue]] ∙ [[Power (function)|Power]] ∙ [[Logarithm]] ∙ [[Minimum]] ∙ [[Maximum]] ∙ [[Binomial]] ∙ [[Comparison function]]s ∙ [[Boolean#Boolean_functions|Boolean functions]] ([[And]], [[Or]], [[Nand]], [[Nor]]) ∙ [[GCD]] ∙ [[LCM]] ∙ [[Circular]] ∙ [[Complex (function)|Complex]] | | [[Add]] ∙ [[Subtract]] ∙ [[Times]] ∙ [[Divide]] ∙ [[Residue]] ∙ [[Power (function)|Power]] ∙ [[Logarithm]] ∙ [[Minimum]] ∙ [[Maximum]] ∙ [[Binomial]] ∙ [[Comparison function]]s ∙ [[Boolean#Boolean_functions|Boolean functions]] ([[And]], [[Or]], [[Nand]], [[Nor]]) ∙ [[GCD]] ∙ [[LCM]] ∙ [[Circular]] ∙ [[Complex (function)|Complex]] ∙ [[Root]] | ||
|- | |- | ||
! rowspan="5" | [[Mixed function|Non-Scalar]] | ! rowspan="5" | [[Mixed function|Non-Scalar]] | ||
|- | |- | ||
! | ! Structural | ||
| [[Shape]] ∙ [[Reshape]] ∙ [[Tally]] ∙ [[Depth]] ∙ [[Ravel]] ∙ [[Enlist]] ∙ [[Table]] ∙ [[Catenate]] ∙ [[Reverse]] ∙ [[Rotate]] ∙ [[Transpose]] ∙ [[Raze]] ∙ [[Mix]] ∙ [[Split]] ∙ [[Enclose]] ∙ [[Nest]] ∙ [[Cut (K)]] ∙ [[Pair]] ∙ [[Partitioned Enclose]] ∙ [[Partition]] | | [[Shape]] ∙ [[Reshape]] ∙ [[Tally]] ∙ [[Depth]] ∙ [[Ravel]] ∙ [[Enlist]] ∙ [[Table]] ∙ [[Catenate]] ∙ [[Reverse]] ∙ [[Rotate]] ∙ [[Transpose]] ∙ [[Raze]] ∙ [[Mix]] ∙ [[Split]] ∙ [[Enclose]] ∙ [[Nest]] ∙ [[Cut (K)]] ∙ [[Pair]] ∙ [[Link]] ∙ [[Partitioned Enclose]] ∙ [[Partition]] | ||
|- | |- | ||
! Selection | ! Selection | ||
| [[First]] ∙ [[Pick]] ∙ [[Take]] ∙ [[Drop]] ∙ [[Unique]] ∙ [[Identity]] ∙ [[Select]] ∙ [[Replicate]] ∙ [[Expand]] ∙ [[Set function]]s ([[Intersection]] ∙ [[Union]] ∙ [[Without]]) ∙ [[Bracket | | [[First]] ∙ [[Pick]] ∙ [[Take]] ∙ [[Drop]] ∙ [[Unique]] ∙ [[Identity]] ∙ [[Stop]] ∙ [[Select]] ∙ [[Replicate]] ∙ [[Expand]] ∙ [[Set function]]s ([[Intersection]] ∙ [[Union]] ∙ [[Without]]) ∙ [[Bracket indexing]] ∙ [[Index (function)|Index]] ∙ [[Cartesian Product]] ∙ [[Sort]] | ||
|- | |- | ||
! Selector | ! Selector | ||
| [[Index generator]] ∙ [[Grade]] ∙ [[Index Of]] ∙ [[Interval Index]] ∙ [[Indices]] ∙ [[Deal]] | | [[Index generator]] ∙ [[Grade]] ∙ [[Index Of]] ∙ [[Interval Index]] ∙ [[Indices]] ∙ [[Deal]] ∙ [[Prefix and suffix vectors]] | ||
|- | |- | ||
! Computational | ! Computational | ||
| [[Match]] ∙ [[Not Match]] ∙ [[Membership]] ∙ [[Find]] ∙ [[Nub Sieve]] ∙ [[Encode]] ∙ [[Decode]] ∙ [[Matrix Inverse]] ∙ [[Matrix Divide]] ∙ [[Format]] ∙ [[Execute]] ∙ [[Materialise]] | | [[Match]] ∙ [[Not Match]] ∙ [[Membership]] ∙ [[Find]] ∙ [[Nub Sieve]] ∙ [[Encode]] ∙ [[Decode]] ∙ [[Matrix Inverse]] ∙ [[Matrix Divide]] ∙ [[Format]] ∙ [[Execute]] ∙ [[Materialise]] ∙ [[Range]] | ||
|- | |- | ||
! rowspan="2" | [[Primitive operator]]s !! Monadic | ! rowspan="2" | [[Primitive operator|Operator]]s !! Monadic | ||
| colspan="2" | [[Each]] ∙ [[Commute]] ∙ [[Constant]] ∙ [[Replicate]] ∙ [[Reduce]] ∙ [[Windowed Reduce]] ∙ [[Scan]] ∙ [[Outer Product]] ∙ [[Key]] ∙ [[I- | | colspan="2" | [[Each]] ∙ [[Commute]] ∙ [[Constant]] ∙ [[Replicate]] ∙ [[Expand]] ∙ [[Reduce]] ∙ [[Windowed Reduce]] ∙ [[Scan]] ∙ [[Outer Product]] ∙ [[Key]] ∙ [[I-Beam]] ∙ [[Spawn]] ∙ [[Function axis]] ∙ [[Identity operator|Identity]] (Null, Ident) | ||
|- | |- | ||
! Dyadic | ! Dyadic | ||
| colspan="2" | [[ | | colspan="2" | [[Bind]] ∙ [[Function composition|Composition]]s ([[Compose]], [[Reverse Compose]], [[Beside]], [[Withe]], [[Atop (operator)|Atop]], [[Over]]) ∙ [[Inner Product]] ∙ [[Determinant]] ∙ [[Power (operator)|Power]] ∙ [[At]] ∙ [[Under]] ∙ [[Rank (operator)|Rank]] ∙ [[Depth (operator)|Depth]] ∙ [[Variant]] ∙ [[Stencil]] ∙ [[Cut]] ∙ [[Direct definition (operator)]] ∙ [[Identity operator|Identity]] (Lev, Dex) | ||
|- | |- | ||
! | ! [[Quad name]]s | ||
| colspan="4" | [[Index origin]] ∙ [[Comparison tolerance]] ∙ [[Migration level]] ∙ [[Atomic vector]] | |||
| colspan=" | |||
|} | |} |