Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Get a complex number in polar form or polar exponential form
ResourceFunction["ComplexToPolar"][z] returns the complex number z in polar exponential form. | |
ResourceFunction["ComplexToPolar"][z,type] returns the complex number z with the form type. |
Return a polar exponential form for a numeric quantity:
| In[1]:= |
| Out[1]= |
Specify that you want the number in polar form:
| In[2]:= |
| Out[2]= |
Specify that you want the number in polar exponential form:
| In[3]:= |
| Out[3]= |
Return all forms as an Association:
| In[4]:= |
| Out[4]= |
For symbolic input, ComplexToPolar returns unevaluated:
| In[5]:= |
| Out[5]= |
This work is licensed under a Creative Commons Attribution 4.0 International License