Convert Cartesian coordinates to Polar coordinates
polarise(x, norm = 2)A list containing:
The calculated radii (distances from origin).
The angles in radians, adjusted to the range [0, 2*pi].
A matrix with exactly 2 rows representing the x and y coordinates.
A numeric value specifying the L-p norm for calculating the radius. Defaults to 2 (Euclidean).