Boost logo

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:
(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 list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at