WLJS LogoWLJS Notebook

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.

On this page