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