Z is an (n, 2) tensor of (x, y) coordinates. Return an (n, 2) tensor of (R, T) where R = sqrt(x²+y²), T = atan2(y, x).
Z
(n, 2)
(x, y)
(R, T)
R = sqrt(x²+y²)
T = atan2(y, x)
solve(...)