Differences
This shows you the differences between two versions of the page.
| documentation:language_reference:objects:complex:functions:i [2016/09/19 13:39] – created Maurits W. Haverkort | documentation:language_reference:objects:complex:functions:i [2025/11/20 04:20] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== I ====== | ||
| + | ### | ||
| + | Complex.I() returns the complex number $\mathrm{i}$. | ||
| + | ### | ||
| + | |||
| + | ===== Example ===== | ||
| + | |||
| + | ### | ||
| + | The following example sets the variable $z$ equal to $\mathrm{i}$. | ||
| + | ### | ||
| + | |||
| + | ==== Input ==== | ||
| + | <code Quanty Example.Quanty> | ||
| + | -- Complex.I() | ||
| + | z = Complex.I() | ||
| + | print(z) | ||
| + | </ | ||
| + | |||
| + | ==== Result ==== | ||
| + | <file Quanty_Output> | ||
| + | (0 + 1 I) | ||
| + | </ | ||
| + | |||
| + | ===== List of all functions in complex ===== | ||
| + | {{indexmenu> | ||