Table of Contents
I
Complex.I() returns the complex number $\mathrm{i}$.
Example
The following example sets the variable $z$ equal to $\mathrm{i}$.
Input
- Example.Quanty
-- Complex.I() z = Complex.I() print(z)
Result
(0 + 1 I)
Complex.I() returns the complex number $\mathrm{i}$.
The following example sets the variable $z$ equal to $\mathrm{i}$.
-- Complex.I() z = Complex.I() print(z)
(0 + 1 I)