Algosim documentation: Im

Im

The imaginary part function.

Syntax

Description

Typewise, Im(x) is always a real number, vector, or matrix.

Examples

Im(1 + √3⋅i)
1.73205080757	(=√3)
Im(e^(π/6⋅i))
0.5	(=1/2)
Im(❨2 + i, 3 − 2⋅i, 1 − i❩)
 ⎛1 ⎞
e⎜−2⎟
 ⎝−1⎠
Im(❨❨5, i❩, ❨−i, −1❩❩)
⎛0  1 ⎞
⎝−1 0 ⎠

See also