Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Alternatively, you can use the rotation matrix.

a = vector(QQ, [3, 4])
m=matrix(QQ,[[0,-1],[1,0]])
a_perp=m*a