私はさまざまな変換で行列を表示するプログラムを作成していましたが、回転行列を除いてすべてが機能します。私はそれをいじってみましたが、何もうまくいかないようです
y = input("how many degrees do you want to rotate the shape around the origin?: ")
j = array([(cos(int(y)), -sin(int(y))), (sin(int(y)), cos(int(y)))])
print(j.dot(w))
input("enter to exit")