Disclose: Difference between revisions

From APL Wiki
Jump to navigation Jump to search
(Redirected page to Mix)
Tag: New redirect
 
(Removed redirect to Mix)
Tag: Removed redirect
Line 1: Line 1:
#REDIRECT [[Mix]]
{{Built-in|Right Shoe|⊃}} is a [[monadic function]] is [[Nested array model|nested]] APLs which reduces the level of nesting of an array. However, its treatment of non-scalars varies between dialects. Some dialects have it extract the argument's initial element in [[ravel order]], while others have it combine the array's elements (requiring conforming shapes or padding with [fill element]]s). Depending on which approach is taken, it is common to use the unambiguous names [[First]] and [Mix]] for these two functions.
 
For a discussion of all uses of the [[glyph]] <source lang=apl inline>⊃</source>, see [[Right Shoe]].
 
{{APL built-ins}}

Revision as of 11:38, 1 May 2020

Right Shoe () is a monadic function is nested APLs which reduces the level of nesting of an array. However, its treatment of non-scalars varies between dialects. Some dialects have it extract the argument's initial element in ravel order, while others have it combine the array's elements (requiring conforming shapes or padding with [fill element]]s). Depending on which approach is taken, it is common to use the unambiguous names First and [Mix]] for these two functions.

For a discussion of all uses of the glyph , see Right Shoe.


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