2017-05-05 20 views

回答

0
def get_points_on_polar_line(rho,theta): 
    a=np.cos(theta) 
    b=np.sin(theta) 
    x0=np.array((rho * a, rho * b)) 
    return (x0,x0+(-b, a))