Boost logo

Boost :

From: Larry Evans (cppljevans_at_[hidden])
Date: 2005-07-26 05:19:34


On 07/25/2005 07:16 PM, Larry Evans wrote:
> On 07/25/2005 07:06 PM, Larry Evans wrote:
[snip]
> I can see where this would be useful in forming cross product.
> If, instead of scalar elements in the tuples, the rows of matrix
> M1 and columns of matrix M2 were elements of these tuples, then

Of course, to get the columns of matrix M2, you *might* could use
the zip iterator constructed from the rows of M2. I *think*
this would work with:

   vector<vector<int> > M2;

but haven't tried.

[snip]
> that with plus and end up with
> matrix multiply!
   ^^^^^^^^^^^^^^^ i.e. cross product to remain consistent ;)


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