==== j ====
----
Push the symbolic constant 'j' on the stack
----
^ __Input Stack__ ^ ^ __Output Stack__ ^
| **** | **→** | **Cj** |
| //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// ||
----
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.
----
''j'' is specific to **newRPL** and has no direct equivalent in **userRPL**.
----
**__Input__**
« 6 SETPREC
j DUP
→NUM
»
\\
**__Output__**
4:
3:
2: j
1: (0,1)
…………………………………………………………………………………………………………
----
{{page>manual:chapter6:constants&nofooter&noeditbtn&inline}}