i
Synopsis
Push the symbolic constant 'i' on the stack
Stack Diagram
Input Stack | Output Stack | |
---|---|---|
→ | i | |
Level 1 | → | Level 1 |
Type | Analytic Function | |
Parallel list processing | Group 1 | |
Affected by flags | None |
Description
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.
Compatibility
This command is fully compatible with userRPL.
Usage
The following program
« 6 SETPREC i DUP →NUM »
will result in
2: i 1: (0,1) ……………………………………………………………………………………