
26 Jul
2005
26 Jul
'05
10:19 a.m.
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 ;)