treams.special.pol2car¶
- treams.special.pol2car(r) = <ufunc 'pol2car'>¶
Convert polar to cartesian coordinates
The polar coordinates \((x, y)\) are converted to \((\rho, \varphi)\) with \(x = \rho \cos \varphi\) and \(y = \rho \sin \varphi\).
- Parameters:
r (float, 2-array) – Polar coordinates in 2-dimensional space
- Returns:
float, 2-array