tmp/tmpieslab69/{from.md → to.md}
RENAMED
|
@@ -47,8 +47,11 @@ template<class T> complex<T> proj(const complex<T>& x);
|
|
| 47 |
|
| 48 |
``` cpp
|
| 49 |
template<class T> complex<T> polar(const T& rho, const T& theta = 0);
|
| 50 |
```
|
| 51 |
|
|
|
|
|
|
|
|
|
|
| 52 |
*Returns:* The `complex` value corresponding to a complex number whose
|
| 53 |
magnitude is `rho` and whose phase angle is `theta`.
|
| 54 |
|
|
|
|
| 47 |
|
| 48 |
``` cpp
|
| 49 |
template<class T> complex<T> polar(const T& rho, const T& theta = 0);
|
| 50 |
```
|
| 51 |
|
| 52 |
+
*Requires:* `rho` shall be non-negative and non-NaN. `theta` shall be
|
| 53 |
+
finite.
|
| 54 |
+
|
| 55 |
*Returns:* The `complex` value corresponding to a complex number whose
|
| 56 |
magnitude is `rho` and whose phase angle is `theta`.
|
| 57 |
|