Show pageDiscussionOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ==== j ==== <callout type="primary" color="" icon="fa fa-book" title="Synopsis"> ---- Push the symbolic constant 'j' on the stack </callout> <callout color="green" icon="fa fa-indent" title="Stack Diagram"> ---- ^ __Input Stack__ ^ ^ __Output Stack__ ^ | **** | **→** | **C<sub>j</sub>** | | //Level 1 / Argument 1// | //→// | //Level 1// | {{page>manual:chapter6:aux:legend&nofooter&noeditbtn&inline}} | **Keyword type** | [[manual:chapter5:basics#analytic-functions|Analytic Function]] || | **Parallel list processing capabilities** | [[manual:chapter5:listproc#group-1commands-that-cannot-parallel-process|Group 1]] | //Commands that cannot parallel process// | | **Affected by flags** | //None// || </callout> <callout color="orangered" icon="fa fa-comment" title="Description"> ---- The ''j'' function pushes on the stack a symbolic representation of the imaginary unit $j=\sqrt{-1}$. ''j'' provides a convenient alias of ''[[manual:chapter6:constants:cmd_iconst|i]]'' for those applications where the latter might be confused with the ''i'' variable (usually electronic engineering). Application of the ''[[manual:chapter6:operators:cmd_ovr_num|→NUM]]'' operator returns the complex number ''(0,1)'' in rectangular format. </callout> <callout type="danger" icon="true" title="Compatibility"> ---- ''j'' is specific to **newRPL** and has no direct equivalent in **userRPL**. </callout> <callout type="info" icon="true" title="Usage"> ---- **__Input__** <code> « 6 SETPREC j DUP →NUM » </code> \\ **__Output__** <code> 4: 3: 2: j 1: (0,1) ………………………………………………………………………………………………………… </code> </callout> <callout color="darkgray" icon="fa fa-hand-o-right" title="Related Commands"> ---- {{page>manual:chapter6:constants&nofooter&noeditbtn&inline}} </callout> manual/chapter6/constants/cmd_jconst.txt Last modified: 2021/09/19 15:09by jojo1973