Re
The real part of a complex number. An alias for Real, the preferred name.
✓ checked against that system · ! checked, with disagreements (hover a chip)Fungrim
ReWolfram LanguageRe!Re(complex | infinity) -> numberthe real part of ; distributes over a symbolic real value unchanged.SageMath
real_part(complex | infinity)SymPyre(complex | infinity)mpmathre(complex | infinity)Typed signatures
| Type | Package | Applies |
|---|---|---|
(complex | infinity) -> number | compute-engine | always |
Details
- A Gaussian integer is a complex number with integer parts, so
Reand Imaginary read its two coordinates; there is no separate head for them.
Plot
Examples
Scope #
live ↗
InOut
live ↗
InOut
live ↗
InOut
live ↗
InOut
live ↗
InOut
live ↗
InOut
live ↗
InOut
live ↗
InOut
live ↗
InOut
live ↗
InOut
Properties #
Flipping the imaginary sign leaves the real part alone
live ↗InOut
Known value · Wolfram MathematicalFunctionData, Re
live ↗
InOut
About
| Examples | 35 |
|---|---|
| Checked against | Wolfram Language 31 agree4 differSageMath 30 agree1 differ1 unevaluated1 errorSymPy 31 agree1 differ1 unevaluatedmpmath 29 agreeJulia 23 agree2 error |
| Crosswalk | FungrimWolfram LanguageSageMathSymPympmath |
Implementation
mapped
sympypackages/oracle/src/mappings.tsmapped
mpmathpackages/oracle/src/mappings.tsmapped
sagepackages/oracle/src/mappings.ts