Root: Difference between revisions

Jump to navigation Jump to search
194 bytes added ,  22:10, 10 September 2022
m
Text replacement - "<source" to "<syntaxhighlight"
(Created page with "{{Built-in|Root|√}} (<source lang=j inline>%:</source> in J) is a dyadic scalar function that computes the nth root; <source lang=apl inli...")
 
m (Text replacement - "<source" to "<syntaxhighlight")
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Built-in|Root|√}} (<source lang=j inline>%:</source> in [[J]]) is a [[dyadic]] [[scalar function]] that computes the [[wikipedia:nth root|nth root]]; <source lang=apl inline>X√Y</source> is equal to <source lang=apl inline>Y*÷X</source>, 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>√</source> 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]].
{{Built-in|Root|√}} (<syntaxhighlight lang=j inline>%:</syntaxhighlight> in [[J]]) is a [[dyadic]] [[scalar function]] that computes the [[wikipedia:nth root|nth root]]; <syntaxhighlight lang=apl inline>X√Y</syntaxhighlight> is equal to <syntaxhighlight 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]] <syntaxhighlight 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 ==
* [[Divide]]
* [[Logarithm]]


== External links ==
== External links ==
Line 5: 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]]

Navigation menu