Subject: Re: [boost] different matrix library?
From: DE (satan66613_at_[hidden])
Date: 2009-08-26 12:29:04
a thought about operations tweaks
one may want to tile and/or partially unroll operation loops
but since such thing characterize operations rather than objects
themselves it is wrong to tag the objects with such info
matrix<double, tile<3, 3> > tiled1; //the first one
matrix<double, tile<3, 1> > tiled2; //far from the first one
matrix<double> result = tiled1*tiled2; //what tiling would occure?
instead one can tag an operation itself (when needed)
for exmple one could write like
matrix<double> result = (m1*m2, tile<3, 3>());
m = (m1*m2, tile<3, 3>())*m3; //'m1*m2' is tiled; the latter is not
even this primitive form is much more expressive
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk