Push the symbolic constant 'i' on the stack
| Input Stack | Output Stack | |
|---|---|---|
| → | Ci | |
| Level 1 / Argument 1 | → | Level 1 |
| Keyword type | Analytic Function | |
| Parallel list processing capabilities | Group 1 | Commands that cannot parallel process |
| Affected by flags | None | |
The i function pushes on the stack a symbolic representation of the imaginary unit $i=\sqrt{-1}$.
Application of the →NUM operator returns the complex number (0,1) in rectangular format.
i is fully equivalent to its userRPL counterpart.
Input
« 6 SETPREC i DUP →NUM »
Output
4:
3:
2: i
1: (0,1)
…………………………………………………………………………………………………………