Beside

From APL Wiki
Jump to navigation Jump to search

Beside (), Compose or After is a primitive operator. It shares the glyph with Bind. Called dyadically with function operands f and g, it uses g monadically to pre-processes the right argument before applying f to the given left argument and pre-processed right argument. Called monadically with operands f and g, it applies f to the result of applying g to the argument.

In usage, X fg Y is equivalent to X f g Y, and fg Y is equivalent to f g Y. Thus, beside can be defined as the dop { ⍺⍺ ⍵⍵ }.

External links

Lessons

Documentation


APL built-ins [edit]
Primitive functions
Scalar
Monadic ConjugateNegateSignumReciprocalMagnitudeExponentialNatural LogarithmFloorCeilingFactorialNotPi TimesRollType
Dyadic AddSubtractTimesDivideResiduePower (function)LogarithmMinimumMaximumBinomialComparison functionsBoolean functions (AndOrNandNor) ∙ CircleComplex
Non-Scalar
Structural ShapeReshapeTallyDepthRavelEnlistTableCatenateReverseRotateTransposeRazeMixSplitEncloseNestCut (K)PairPartitioned EnclosePartition
Selection FirstPickTakeDropUniqueIdentitySelectReplicateExpand ∙ Set functions (IntersectionUnionWithout) ∙ Bracket indexSquad Indexing
Selector Index generatorGrade UpGrade DownIndex OfInterval IndexIndicesDeal
Computational MatchNot MatchMembershipFindNub SieveBaseRepresentMatrix InverseMatrix DivideFormatExecuteMaterialise
Primitive operators Monadic EachCommuteConstantReplicateReduceWindowed ReduceScanOuter ProductKeyI-beamSpawnFunction axis
Dyadic Inner ProductPower (operator)Rank (operator)BindBesideReverse ComposeAtopOverAtVariantStencil
Quad names
Arrays Index originMigration level
Functions
Operators