ReIm
Examples
open allclose allBasic Examples (3)
The real and imaginary parts of a complex number:
Real numbers are a special kind of complex number:
ReIm[list] gives a list of ordered pairs:
Scope (5)
ReIm accepts all number types:
ReIm works with symbolic representations of numbers:
Purely symbolic expressions can be partially simplified:
ReIm supports nested lists and ragged arrays:
ReIm works with SparseArray and structured array objects:
Applications (3)
Properties & Relations (9)
ReIm increases the depth of an array by one, adding a new inner dimension of length 2:
ReIm[array] gives an array of {re,im} pairs:
This can be turned into a pair {Re[array],Im[array]} using Transpose:
ComplexExpand assumes variables to be real:
In general, variables are assumed to be complex, which may prevent simplification:
Use Simplify and FullSimplify to simplify the results of ReIm:
ReIm converts complex numbers to pairs:
FromPolarCoordinates converts pairs of real-valued polar coordinates to pairs:
ReIm can be viewed as the composition of AbsArg and FromPolarCoordinates:
ReIm converts complex numbers to pairs:
AngleVector converts pairs of reals to pairs:
ReImPlot plots the real and imaginary parts of a function:
Use ComplexListPlot to plot complex numbers using their real and imaginary parts:
Text
Wolfram Research (2015), ReIm, Wolfram Language function, https://reference.wolfram.com/language/ref/ReIm.html.
CMS
Wolfram Language. 2015. "ReIm." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/ReIm.html.
APA
Wolfram Language. (2015). ReIm. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ReIm.html