![]() |
Complex#arg() is a Complex class method which returns the angle part of the polar form of complex value.
Example #1 :
Output : Complex arg form : 0.0 Complex arg form : 1.8157749899217608 Complex arg form : 1.5707963267948966 Example #2 :
Output : Complex arg form : 1.3521273809209546 Complex arg form : 1.5707963267948966 Complex arg form : -1.373400766945016 |
Reffered: https://www.geeksforgeeks.org
Ruby |
Related |
---|
![]() |
![]() |
![]() |
![]() |
![]() |
Type: | Geek |
Category: | Coding |
Sub Category: | Tutorial |
Uploaded by: | Admin |
Views: | 8 |