[back] [prev] [next] [index] [root]

 


Re

Returns the real part of a complex number.

Syntax:

a := Re(z);

real
  a  
complex
  z  

See also:  Im

Description:

no detailed description available yet


Example:

Compute the real part of 1 + 2i:

kash> z := Comp(1, 2);
1 + 2*i
kash> Re(z);
> 1


<- back[back] [prev] [next] [index] [root]