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)

List of all functions in complex

Print/export