Template:APL built-ins: Difference between revisions

From APL Wiki
Jump to navigation Jump to search
Miraheze>Adám Brudzewsky
(Created page with "{| class="wikitable mw-collapsible mw-collapsed" style="width:100%;" ! colspan="4" | '''<big>APL built-ins</big>''' |- | rowspan="8" | '''Functions''' |- | rowspan="...")
 
m (add Round and identity operators)
 
(87 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{| class="wikitable mw-collapsible mw-collapsed" style="width:100%;"
<noinclude>__NOTITLE__</noinclude>
  ! colspan="4" | '''<big>APL built-ins</big>'''
{| class="wikitable <includeonly>{{{1|mw-collapsible mw-collapsed}}}</includeonly>" style="width:100%"
  |-
! colspan=5 | '''<big>APL built-ins</big>''' [[{{fullurl:Template:APL_built-ins|action=edit}} edit]]
  | rowspan="8" | '''Functions'''
|-
  |-
! rowspan="11 style="width:6em;" | [[Primitive]]s ([[Timeline of APL primitives|Timeline]]) || rowspan="9" style="width:6em;" | [[Primitive function|Function]]s
  | rowspan="8" | '''Functions'''
|-
  |-
! rowspan="3" style="width:6em;" | [[Scalar function|Scalar]]
  | '''Monadic'''
|-
  |-
! style="width:6em;" | Monadic
  | '''Dyadic Arithmetic'''
| [[Conjugate]] ∙ [[Negate]] ∙ [[Signum]] ∙ [[Reciprocal]] ∙ [[Magnitude]] ∙ [[Exponential]] ∙ [[Natural Logarithm]] ∙ [[Floor]] ∙ [[Ceiling]] ∙ [[Factorial]] ∙ [[Not]] ∙ [[Pi Times]] ∙ [[Roll]] ∙ [[Type]] ∙ [[Imaginary]] ∙ [[Square Root]] ∙ [[Round]]
  |-
|-
  | '''Dyadic Logical'''
! 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]] ∙ [[Root]]
  | rowspan="8" | '''Non-Scalar'''
|-
  |-
! rowspan="5" | [[Mixed function|Non-Scalar]]
  | Monadic Structural
|-
  |-
! Structural
  | Dyadic Structural
| [[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]] ∙ [[Stop]] [[Select]] ∙ [[Replicate]] ∙ [[Expand]] ∙ [[Set function]]s ([[Intersection]] [[Union]] ∙ [[Without]]) ∙ [[Bracket indexing]] ∙ [[Index (function)|Index]] ∙ [[Cartesian Product]] ∙ [[Sort]]
  | Selector
|-
  |-
! Selector
  | Computational
| [[Index generator]] ∙ [[Grade]] ∙ [[Index Of]] ∙ [[Interval Index]] ∙ [[Indices]] ∙ [[Deal]] ∙ [[Prefix and suffix vectors]]
  |-
|-
  | [[Syntactic overview]] ∙ [[Comparison with traditional mathematics]]
! Computational
  |-
| [[Match]] ∙ [[Not Match]] ∙ [[Membership]] ∙ [[Find]] ∙ [[Nub Sieve]] [[Encode]] ∙ [[Decode]] ∙ [[Matrix Inverse]] ∙ [[Matrix Divide]] ∙ [[Format]] ∙ [[Execute]] ∙ [[Materialise]] ∙ [[Range]]
  | '''Built-ins''' || [[Primitive function]] ∙ [[Primitive operator]] ∙ [[Quad-names]] ∙ [[System commands]]
|-
  |-
! rowspan="2" | [[Primitive operator|Operator]]s !! Monadic
  | '''[[Array model]]''' || [[Shape]] ∙ [[Rank]] ∙ [[Depth]] ∙ [[Ravel]] ∙ [[Prototype]] ∙ [[Simple scalars]]
| colspan="2" | [[Each]] ∙ [[Commute]] ∙ [[Constant]] [[Replicate]] ∙ [[Expand]] [[Reduce]] ∙ [[Windowed Reduce]] ∙ [[Scan]] ∙ [[Outer Product]] ∙ [[Key]] ∙ [[I-Beam]] ∙ [[Spawn]] ∙ [[Function axis]] ∙ [[Identity operator|Identity]] (Null, Ident)
  |-
|-
  | '''Functions''' || [[Tradfns]] ∙ [[Dfns]] ∙ [[Derived functions]] ∙ [[Trains]]
! Dyadic
  |-
| 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)
  | '''Operators''' || [[Tradops]] ∙ [[Dops]] ∙ [[Derived operators]]
|-
  |-
! [[Quad name]]s
  | '''Other''' || [[Bracket indexing]] ∙ [[Bracket axis]] ∙ [[Outer product]] ∙ [[Assignment]] ∙ [[Branching]] ∙ [[Keywords]] ∙ [[Object orientated programming]] ∙ [[User commands]]
| colspan="4" | [[Index origin]] ∙ [[Comparison tolerance]] ∙ [[Migration level]] ∙ [[Atomic vector]]
  |-
  | rowspan="2" | '''Usage''' || '''Interface''' || [[The APL Session]] ∙ [[Typing APL symbols]] ∙ [[APL fonts]]
  |-
  | '''Other''' || [[Tutorials]] ∙ [[Mnemonics]]
  |-
  | rowspan="3" | '''Dialects'''
  |'''Maintained''' || [[APL+Win]] (APL*PLUS) ∙ [[APL2]] ∙ [[APL64]] ∙ [[Dyalog APL]] ∙ [[dzaima/APL]] ∙ [[GNU APL]] ∙ [[NARS2000]] (NARS) ∙ [[ngn/apl]] ∙ [[OpenAPL]]  
  |-
  | '''Historical''' || [[A+]] (A) [[APL#]] ∙ [[APL.SV]] ∙ [[APLX]] (APL.68000) ∙ [[APL\1130]] ∙ [[APL\360]] ∙ [[Iverson notation]] ∙ [[Sharp APL]] (SAX) ∙ [[VisualAPL]] (APLNext) ∙ [[VSAPL]] ∙ [[York APL]]  
  |-
  | '''Derivatives''' || [[ELI]] ∙ [[J]] ∙ [[K]] (Q, KDB+) ∙ [[LYaPAS]] ∙ [[Nial]] ∙ [[RAD]]  
|}
|}

Latest revision as of 06:49, 1 November 2024

APL built-ins [edit]
Primitives (Timeline) Functions
Scalar
Monadic ConjugateNegateSignumReciprocalMagnitudeExponentialNatural LogarithmFloorCeilingFactorialNotPi TimesRollTypeImaginarySquare RootRound
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 axisIdentity (Null, Ident)
Dyadic BindCompositions (Compose, Reverse Compose, Beside, Withe, Atop, Over) ∙ Inner ProductDeterminantPowerAtUnderRankDepthVariantStencilCutDirect definition (operator)Identity (Lev, Dex)
Quad names Index originComparison toleranceMigration levelAtomic vector