Next revision
|
Previous revision
|
manual:chapter6:constants:cmd_jconst [2019/10/20 05:31] jojo1973 created |
manual:chapter6:constants:cmd_jconst [2021/09/19 15:09] jojo1973 |
==== j ==== | ==== j ==== |
---- | |
<callout type="primary" color="" icon="fa fa-book" title="Synopsis"> | <callout type="primary" color="" icon="fa fa-book" title="Synopsis"> |
---- | ---- |
---- | ---- |
^ __Input Stack__ ^ ^ __Output Stack__ ^ | ^ __Input Stack__ ^ ^ __Output Stack__ ^ |
| | **→** | **j** | | | **** | **→** | **C<sub>j</sub>** | |
| //Level 1// | //→// | //Level 1// | | | //Level 1 / Argument 1// | //→// | //Level 1// | |
| |
{{page>manual:chapter6:aux:legend&nofooter&noeditbtn&inline}} | {{page>manual:chapter6:aux:legend&nofooter&noeditbtn&inline}} |
| |
|**Type**| [[manual:chapter5:basics#analytic-functions|Analytic Function]] || | | **Keyword type** | [[manual:chapter5:basics#analytic-functions|Analytic Function]] || |
|**Parallel list processing**| [[manual:chapter5:listproc#group-1commands-that-cannot-parallel-process|Group 1]] || | | **Parallel list processing capabilities** | [[manual:chapter5:listproc#group-1commands-that-cannot-parallel-process|Group 1]] | //Commands that cannot parallel process// | |
|**Affected by flags**| None || | | **Affected by flags** | //None// || |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
</callout> | </callout> |
| |
The ''j'' function pushes on the stack a symbolic representation of the imaginary unit $j=\sqrt{-1}$. | The ''j'' function pushes on the stack a symbolic representation of the imaginary unit $j=\sqrt{-1}$. |
| |
''j'' is provided as convenient alias of ''[[manual:chapter6:constants:cmd_iconst|i]]'' for those applications where the latter might be confused with the ''i'' variable (usually Electronics). | ''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. | Application of the ''[[manual:chapter6:operators:cmd_ovr_num|→NUM]]'' operator returns the complex number ''(0,1)'' in rectangular format. |
</callout> | </callout> |
| |
<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. | ''j'' 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"> |
---- | ---- |
The following program | **__Input__** |
<code> | <code> |
« 6 SETPREC | « 6 SETPREC |
» | » |
</code> | </code> |
will result in | \\ |
| **__Output__** |
<code> | <code> |
2: j | 4: |
1: (0,1) | 3: |
…………………………………………………………………………………… | 2: j |
| 1: (0,1) |
| ………………………………………………………………………………………………………… |
| |
</code> | </code> |
</callout> | </callout> |
{{page>manual:chapter6:constants&nofooter&noeditbtn&inline}} | {{page>manual:chapter6:constants&nofooter&noeditbtn&inline}} |
</callout> | </callout> |
| |