Re
Re[z] gives the real part of the complex number z.
Examples
Get the real part of a complex number:
Re[3 + 4 I]
(* 3 *)Real part of a purely imaginary number:
Re[5 I]
(* 0 *)Please visit the official Wolfram Language Reference for more details.
Re[z] gives the real part of the complex number z.
Get the real part of a complex number:
Re[3 + 4 I]
(* 3 *)Real part of a purely imaginary number:
Re[5 I]
(* 0 *)Please visit the official Wolfram Language Reference for more details.