manual:chapter6:angles:cmd_angtorad

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
manual:chapter6:angles:cmd_angtorad [2019/11/06 15:39]
jojo1973
manual:chapter6:angles:cmd_angtorad [2021/09/16 02:36] (current)
jojo1973
Line 1: Line 1:
 ==== A→∡r ==== ==== A→∡r ====
----- 
 <callout type="primary" color="" icon="fa fa-book" title="Synopsis"> <callout type="primary" color="" icon="fa fa-book" title="Synopsis">
 ---- ----
Line 13: Line 12:
 |  **∡**  |  **→**  |  **∡<sub>rad</sub>**  | |  **∡**  |  **→**  |  **∡<sub>rad</sub>**  |
 |  **V**  |  **→**  |  **V<sub>rad</sub>**  | |  **V**  |  **→**  |  **V<sub>rad</sub>**  |
-|  //Level 1//  |  //→//  |  //Level 1//  | +|  //Level 1//  |  //→//  |  //Level 1//  |
  
 {{page>manual:chapter6:aux:legend&nofooter&noeditbtn&inline}} {{page>manual:chapter6:aux:legend&nofooter&noeditbtn&inline}}
  
-|**Type**| [[manual:chapter5:basics#commands|Command]]  || +| **Keyword type**  | [[manual:chapter5:basics#commands|Command]]  || 
-|**Parallel list processing**| [[manual:chapter5:listproc#group-5one-argument-one-result-commands|Group 5]]  ||  +| **Parallel list processing capabilities**  | [[manual:chapter5:listproc#group-5one-argument-one-result-commands|Group 5]]  | //One argument, one result commands//  
-|**Affected by flags**| [[manual:appendix:flags#flag-17-18|-17]] | Angular Mode 1 +| **Affected by flags**  | [[manual:appendix:flags#flags-17-18|-17]]  //Default angle unit (bit 0)//  
-| ::: | [[manual:appendix:flags#flag-17-18|-18]] | Angular Mode 2 |+| ::: | [[manual:appendix:flags#flags-17-18|-18]]  //Default angle unit (bit 1)//  | 
 + 
 + 
 + 
 + 
 + 
 + 
 + 
 + 
 + 
 + 
 + 
 + 
 </callout> </callout>
  
Line 30: Line 42:
  
   * a **scalar**, then the number is interpreted as an angle //in the current angular mode// and converted to radians;   * a **scalar**, then the number is interpreted as an angle //in the current angular mode// and converted to radians;
-  * a **rectangular complex number**, nothing happens; 
   * a **polar complex number**, then the angular component is converted to radians;   * a **polar complex number**, then the angular component is converted to radians;
   * an **angle**, then the angle is converted to radians;   * an **angle**, then the angle is converted to radians;
Line 38: Line 49:
 <callout type="danger" icon="true" title="Compatibility"> <callout type="danger" icon="true" title="Compatibility">
 ---- ----
-This command is new in newRPL and does not exist in userRPL.+''A→∡r'' is specific to **newRPL** and has no direct equivalent in **userRPL**.
 </callout> </callout>
  
 <callout type="info" icon="true" title="Usage"> <callout type="info" icon="true" title="Usage">
 ---- ----
 +**__Input__**
 <code> <code>
-1:  [ #2h ∡20g (1,2) (3,∡5.3d) ] +4:                                       
-…………………………………………………………………………………… +3:                                       
-A→∡r+2:                                       
 +1:          [ #2h ∡20g (1,2) (3,∡5.) ] 
 +………………………………………………………………………………………………………… 
 +A→∡r                                    
 </code> </code>
-will result in+\\ 
 +**__Output__**
 <code> <code>
-1:              #2h ∡0.31415.r +4:                                       
-          (1,2) (3,∡0.09599.r) ] +3:                                       
-…………………………………………………………………………………… +2:                                       
 +1:[ ∡2r ∡0.31415.r (1,2) (3,∡0.09599.r) 
 +………………………………………………………………………………………………………… 
 +                                        
 </code> </code>
 </callout> </callout>
Line 61: Line 79:
 {{page>manual:chapter6:angles&nofooter&noeditbtn&inline}} {{page>manual:chapter6:angles&nofooter&noeditbtn&inline}}
 </callout> </callout>
 +
  • manual/chapter6/angles/cmd_angtorad.1573083570.txt.gz
  • Last modified: 2019/11/06 15:39
  • by jojo1973