Function reference · Complex
polarform
Converts a complex expression toward polar exponential form.
Nerdamer derives a magnitude and principal argument, then represents the result using r*e^(i*theta) when conversion is meaningful. Already simple real or purely imaginary linear values may remain compact.
Examples
These examples use Nerdamer Notation.
Convert a rectangular complex value to polar form.
polarform(1+i)Interfaces
The same operation is available through the interfaces below.
Nerdamer Notation
Use this form inside input passed to nerdamer(...).
polarform(arg1)
nerdamer.polarform
Call the operation through the default nerdamer import.
nerdamer.polarform(x: Expression): Expression
Parameters
| Name | Type | Description |
|---|---|---|
x | Expression | — |
