Resample a spiral path with n_points equidistant points along its arc length, and return a (2, n_points) array [x_int, y_int]:
n_points
(2, n_points)
[x_int, y_int]
phi = arange(0, 10*pi, 0.1)
x = phi*cos(phi)
y = phi*sin(phi)
Input
200
This one's part of Premium. Unlock the full NumPy track plus every other premium problem on the site.
solve(...)