boost ublas: rotate 2d vector

Posted by AndreasT on Stack Overflow See other posts from Stack Overflow or by AndreasT
Published on 2010-04-09T22:42:07Z Indexed on 2010/04/09 23:53 UTC
Read the original article Hit count: 420

Filed under:
|
|

Erm. I hope I am seriously overlooking something. I want to rotate a 2d vector (kartesian) v by a certain angle phi.

I can't find a function that generates the appropriate matrix or just performs that function.

I know how to do this by hand. I am looking for a ublas utility "something" that does this for me.

© Stack Overflow or respective owner

Related posts about c++

Related posts about boost