Root: Difference between revisions

From NARS2000
Jump to navigationJump to search
(Created page with "<table border="1" cellpadding="5" cellspacing="0" rules="none" summary=""> <tr> <td> <table border="0" cellpadding="5" cellspacing="0" summary=""> <tr> <td valign...")
 
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 25: Line 25:
     <table border="0" cellpadding="5" cellspacing="0" summary="">
     <table border="0" cellpadding="5" cellspacing="0" summary="">
     <tr>
     <tr>
       <td valign="top"><apll>Z←L√R</apll></td>
       <td valign="top"><apll>Z←L√R</apll> &nbsp;&nbsp; or &nbsp;&nbsp; <apll>Z←L√[X] R</apll></td>
       <td></td>
       <td></td>
       <td></td>
       <td></td>
Line 44: Line 44:
<p>For example,</p>
<p>For example,</p>


<apll>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;√⍳4<br />
<apll><pre>
1 1.414213562 1.732050808 2<br />
      √⍳4
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(3√⍳4)*3<br />
1 1.414213562 1.732050808 2
1 2 3 4</apll>
      (3√⍳4)*3
1 2 3 4</pre></apll>
 
 
{{Language Toolbar}}

Latest revision as of 19:12, 15 April 2018

Z←√R returns the square root of each of the elements in R.
R is a numeric array.
Z is a floating point array whose values are the square root of the elements of R.


Z←L√R    or    Z←L√[X] R returns the Lth root of each of the elements in R.
L and R are numeric arrays.
Z is a floating point array whose values are the Lth root of the elements of R.


For example,

      √⍳4
1 1.414213562 1.732050808 2
      (3√⍳4)*3
1 2 3 4


{{#ifeq:{{{en}}}|4||title="match" style="border-width:thick; border-color:blue; background-color:yellow;"| {{#ifeq:{{{en}}}|7||title="iota" style="border-width:thick; border-color:blue; background-color:yellow;" | {{#ifeq:{{{en}}}|9||title="slash" style="border-width:thick; border-color:blue; background-color:yellow;" |/ {{#ifeq:{{{en}}}|11||title="diamond" style="border-width:thick; border-color:blue; background-color:yellow;" | {{#switch: {{{en}}}
NARS 2000 Lang
Tool
Bar

{{#ifeq:{{{en}}}|1||title="assign" style="border-width:thick; border-color:blue; background-color:yellow;" |

bgcolor=cyan title="assign" | }}

{{#ifeq:{{{en}}}|2||title="plus" style="border-width:thick; border-color:blue; background-color:yellow;" |+

- × ÷ * ! ? bgcolor=cyan title="plus" |+ - × ÷ * ! ? }}

{{#ifeq:{{{en}}}|3||title="mod" style="border-width:thick; border-color:blue; background-color:yellow;" ||

< = > bgcolor=cyan title="match" | < = > }}

{{#ifeq:{{{en}}}|5||title="down caret" style="border-width:thick; border-color:blue; background-color:yellow;" |

bgcolor=cyan title="down caret" | }}

{{#ifeq:{{{en}}}|6||title="take" style="border-width:thick; border-color:blue; background-color:yellow;" |

~ § π .. bgcolor=cyan title="iota" | ~ § π .. }}

{{#ifeq:{{{en}}}|8||title="comma" style="border-width:thick; border-color:blue; background-color:yellow;" |,

\ ¨ . bgcolor=cyan title="slash" |/ \ ¨ . }}

{{#ifeq:{{{en}}}|10||title="quotequad" style="border-width:thick; border-color:blue; background-color:yellow;" |

_ bgcolor=cyan title="diamond" | _ }}

{{#ifeq:{{{en}}}|12||title="neg" style="border-width:thick; border-color:blue; background-color:yellow;" |¯

title="neg" |¯
colspan=8 |Second Row i j k a b e g p r v x z colspan=8 |Second Row i j k a b e g p r v x z colspan=8 |Second Row i j k a b e g p r v x z colspan=6 |Second Row i j k i j k l g p r v x

}}