mirror of
https://github.com/josdejong/mathjs.git
synced 2025-12-08 19:46:04 +00:00
527 B
527 B
Function re
Get the real part of a complex number.
re(x)
For matrices, the function is evaluated element wise.
Parameters
| Parameter | Type | Description |
|---|---|---|
x |
Number | BigNumber | Complex | Array | Matrix | Boolean |
Returns
| Type | Description |
|---|---|
| Number | BigNumber | Array | Matrix | re |