Olaf Petzold wrote:
I'm writing tvmet, a linear algebra library using expression and meta
templates. ...
Unfortunately chaining (e.g. Matrix=product(product(transpose(Matrix),
Matrix), Matrix)) expressions will go into wrong, or partially wrong
results due to using return value optimizations. It takes memory
regions where the evaluated results where before.
[ What's the problem? ]
Hi Olaf,
Subscribe to the Object-Oriented Numerics List
http://www.oonumerics.org/mailman/listinfo.cgi/oon-list/
and ask your question there.
.
|