Returns complex number with specified magnitude and phase angle.
- Template Parameters
-
| T | autodiff value type for phase angle
|
| U | arithmetic type for magnitude |
- Parameters
-
| [in] | r | magnitude |
| [in] | theta | phase angle |
- Returns
- complex number with magnitude and phase angle
Definition at line 53 of file polar.hpp.