Algosim documentation: Re

Re

The real part function.

Syntax

Description

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

Examples

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

See also