Rotation matrix around an arbitrary axis in an n-dimensional space

106 Views Asked by At

I have two vectors in an n-dimensional space, where n is around 500. I need to turn one vector towards the other one by a particular angel. I found rotation matrices for rotating a vector in a 3-dimensional space around an arbitrary axis, but it is not clear what the matrix is going to look like in an n-dimensional space. Any help is appreciated.