Root: Difference between revisions
Jump to navigation
Jump to search
(→Documentation: BQN) |
m (Text replacement - "</source>" to "</syntaxhighlight>") |
||
Line 1: | Line 1: | ||
{{Built-in|Root|√}} (<source lang=j inline>%:</ | {{Built-in|Root|√}} (<source lang=j inline>%:</syntaxhighlight> in [[J]]) is a [[dyadic]] [[scalar function]] that computes the [[wikipedia:nth root|nth root]]; <source lang=apl inline>X√Y</syntaxhighlight> is equal to <source lang=apl inline>Y*÷X</syntaxhighlight>, the right [[argument]] raised to the [[power]] of the [[reciprocal]] of the left argument. The positioning of arguments resembles the [[Comparison with traditional mathematics#Explicitness|mathematical notation]] <math>\sqrt[x]{y}</math>. Root shares the [[glyph]] <source lang=apl inline>√</syntaxhighlight> 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 == | == See also == |
Revision as of 20:58, 10 September 2022
√
|
Root (√
) (<source lang=j inline>%:</syntaxhighlight> in J) is a dyadic scalar function that computes the nth root; <source lang=apl inline>X√Y</syntaxhighlight> is equal to <source lang=apl inline>Y*÷X</syntaxhighlight>, 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 <source lang=apl inline>√</syntaxhighlight> 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