Imaginary
Imaginary part of a complex number.
✓ checked against that system · ! checked, with disagreements (hover a chip)Fungrim
Im✓Fungrim entryWolfram LanguageIm✓Imaginary(complex | infinity) -> numberthe imaginary part; of a directed infinity, the infinity of its sign, or 0 when it has none.SageMath
imag_part(complex | infinity)mpmathim(complex | infinity)Juliaenumeratio_ball(imag, complex | infinity)Typed signatures
| Type | Package | Applies |
|---|---|---|
(complex | infinity) -> number | analyticreplaces compute-engine | always |
(complex | infinity) -> number | compute-engine | always |
Details
- A Gaussian integer is a complex number with integer parts, so
Imand Re read its two coordinates; there is no separate head for them.
Plot
Examples
About
| Examples | 3 |
|---|---|
| Checked against | Wolfram Language 3 agreeSageMath 3 agreempmath 3 agreeJulia 2 agree1 error |
| Crosswalk | FungrimFungrim entry ×31Wolfram LanguageSageMathmpmathJulia |
Implementation
mapped
mpmathpackages/oracle/src/mappings.tsmapped
sagepackages/oracle/src/mappings.tsmapped
juliapackages/oracle/src/mappings.ts