Boost logo

Boost :

Subject: Re: [boost] different matrix library?
From: Edward Grace (ej.grace_at_[hidden])
Date: 2009-08-14 17:12:10

On 14 Aug 2009, at 18:43, DE wrote:

>> it's terribly wrong to overload '^' in such a way

Why? The precedence rules? Fair enough - sometimes what's tempting
is bad for you, but you still want to try it anyway!

>>> w = wedge(u,v);
> w = cross_product(u,v) please :p

Err, that's only true in 3D (vectors of length 3). There's no such
thing as a cross product between (say) vectors of length 2,4 or
indeed anything else. The cross product is, in effect, a restricted
version of the exterior (wedge) product which exists for higher


Boost list run by bdawes at, gregod at, cpdaniel at, john at