Function reference · Complex
rectform
Converts supported polar complex forms toward rectangular form.
Nerdamer recognizes exponential polar forms and rewrites them with cosine and sine components. If no exact identity is available, an evaluable complex expression can be returned in rectangular form.
Examples
These examples use Nerdamer Notation.
Convert an exact polar exponential back to rectangular form.
rectform(sqrt(34)*e^(i*atan(3/5)))
// → 5+3*iInterfaces
The same operation is available through the interfaces below.
Nerdamer Notation
Use this form inside input passed to nerdamer(...).
rectform(arg1)
nerdamer.rectform
Call the operation through the default nerdamer import.
nerdamer.rectform(x: ExpressionInput): Expression
Parameters
| Name | Type | Description |
|---|---|---|
x | ExpressionInput | — |
