Boost logo

Boost :

From: Richard Newman (richard_at_[hidden])
Date: 2006-03-21 18:06:07


Nigel Stewart wrote:
>>I'm not at all familiar with the math involved, but I imagine that the
>>capabilities could be extended for n-dimensionality if the template
>>types were vectors.
>
>
> So, how is a cross product defined and computed in 2D or 4D? :-)

A quick Google gives the following links for some inspiration:

http://mathworld.wolfram.com/CrossProduct.html

http://www.jtaylor1142001.net/calcjat/Solutions/VCrossProduct/VCPDet2D.htm

http://steve.hollasch.net/thesis/chapter2.html

http://www.mathpages.com/home/kmath069.htm (see "Generalizations to
Higher Dimensions").

Mathematics isn't my area of competence (a hopeful phrase implying that
I may actually have one), so I'll leave it to minds more familiar with
such things to determine what should be implemented.

Regards,
Richard

>
> Nigel
> _______________________________________________
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
>


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk