|
Boost Users : |
From: François Duranleau (duranlef_at_[hidden])
Date: 2006-05-20 01:22:10
On Fri, 19 May 2006, zhao haifang wrote:
> Hey, guys,
>
> I want to do vector (has 3 elements in itf) cross product using boost,
> for example I have vector v1, and v2 and I want to compute v3= v1 X v2,
> so that v3 is a new vector and be normal to the plane compised of v1 and
> v2.
>
> Does any body has any idea about which function in boost should I call ?
See uBLAS, function outer_prod:
http://www.boost.org/libs/numeric/ublas/doc/vector_expression.htm#vector_operations
(and scroll down to outer_prod).
-- François Duranleau LIGUM, Université de Montréal "The power of imagination is the ability to create your own future [...]" - from _Neon Genesis Evangelion: The End of Evangelion_
_______________________________________________
Boost-users mailing list
Boost-users_at_[hidden]
http://lists.boost.org/mailman/listinfo.cgi/boost-users
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net