Boost logo

Boost :

From: Larry Evans (cppljevans_at_[hidden])
Date: 2005-07-25 19:16:19


On 07/25/2005 07:06 PM, Larry Evans wrote:
[snip]
> matrix of rank N*M
Should be:

   shape of {N,M}

and rank=size of shape, i.e. 2.
That is, using apl terminology.

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
you could simply apply zip_iterator to each of these and then
multiply each element of that iterator and then accummulate
that with plus and end up with matrix multiply!


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