On Fri, Apr 8, 2011 at 2:11 PM, Karsten Ahnert
<karsten.ahn...@ambrosys.de> wrote:
> Thank you for your example. I have one question: how do you use (or assign
> something to) the intermediate values in StoredMatrixExpression?

Once the wrapping is done, every wrapped node (multiplies expressions
in your case) will have the "value" member. This can be used from
within any primitive transform or context, if you are working on the
expression after it is transformed by WrapExpression. So instead of
eval(your_expr) you would do something like
eval(WrapExpression()(your_expr)) and then you can assume value exists
when it is needed.

Cheers,

-- 
Bart
_______________________________________________
proto mailing list
proto@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/proto

Reply via email to