Root: Difference between revisions

From APL Wiki
Jump to navigation Jump to search
Line 9: Line 9:
* [http://wiki.nars2000.org/index.php/Root NARS2000]
* [http://wiki.nars2000.org/index.php/Root NARS2000]
* J [https://www.jsoftware.com/help/dictionary/d132.htm Dictionary], [https://code.jsoftware.com/wiki/Vocabulary/percentco#dyadic NuVoc]
* J [https://www.jsoftware.com/help/dictionary/d132.htm Dictionary], [https://code.jsoftware.com/wiki/Vocabulary/percentco#dyadic NuVoc]
* [https://mlochbaum.github.io/BQN/doc/arithmetic.html#basic-arithmetic BQN]


{{APL built-ins}}[[Category:Primitive functions]][[Category:Scalar dyadic functions]]
{{APL built-ins}}[[Category:Primitive functions]][[Category:Scalar dyadic functions]]

Revision as of 02:14, 28 May 2022

Root () (%: in J) is a dyadic scalar function that computes the nth root; X√Y is equal to Y*÷X, the right argument raised to the power of the reciprocal of the left argument. The positioning of arguments resembles the mathematical notation . Root shares the glyph with the monadic function Square Root, which is the same as Root with the default left argument of 2. Root is defined in J, NARS2000, dzaima/APL, and Extended Dyalog APL.

See also

External links

Documentation


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