Differences

This shows you the differences between two versions of the page.

Link to this comparison view

documentation:language_reference:objects:complex:properties:re [2016/09/19 13:41] – created Maurits W. Haverkortdocumentation:language_reference:objects:complex:properties:re [2016/10/10 09:41] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====== Re ======
  
 +###
 +The real part of the complex number $z$.
 +###
 +
 +===== Example =====
 +
 +###
 +The following example defines a complex number $z$ and prints its real part
 +###
 +
 +==== Input ====
 +<code Quanty Example.Quanty>
 +-- z.Re
 +z=3+2*I
 +print("The real part of z = ",z," is ",z.Re)
 +z.Re = -2
 +print("The real part of z = ",z," is ",z.Re)
 +</code>
 +
 +==== Result ====
 +<file Quanty_Output>
 +The real part of z = (3+2 I) is 3
 +The real part of z = (-2+2 I) is -2
 +</file>
 +
 +===== List of all properties of complex numbers =====
 +{{indexmenu>.#1}}
Print/export