math.radians将角度转为弧度
math.degrees将弧度转为角度
角度 180 弧度math.pi 3.14
torch.cos 余弦函数 输入为弧度制
math.atan2(y,x) 返回theta角的弧度
complex(x,y) 极坐标 x+yj
rho, theta = cmath.polar(x+yj) rho = (x^2+y^2)开根号 theta = math.atan2(y,x)
V坐标系逆时针转到B坐标系,转置矩阵为T= , 已知P在V坐标系的坐标表示为V,则其转到B坐标系下的坐标则为:B=VT
B坐标系顺时针转到V坐标系