Logo MTL4
mtl::operation::compute_summand< Expr > Struct Template Reference

Compute a summand in an expression. More...

#include <compute_summand.hpp>

Collaboration diagram for mtl::operation::compute_summand< Expr >:
Collaboration graph
[legend]

List of all members.


Detailed Description

template<typename Expr>
struct mtl::operation::compute_summand< Expr >

Compute a summand in an expression.

For instance matrix vector products are transformed into mult function calls when assigned to a column vector. Adding such a vector to other vector expressions requires to compute (evaluate) the summand first and then add the resulting vector. The current implementation assumes that the result of the operation can be represented by the multiplied column vector. This is for instance wrong when the matrix is complex and the vector real. To handle this is signifantly more complicated and is planned for the future.


The documentation for this struct was generated from the following file:


mtl::operation::compute_summand< Expr > Struct Template Reference -- MTL 4 -- Peter Gottschling and Andrew Lumsdaine -- Gen. with rev. 7542 on Sat Aug 11 2012 by doxygen 1.7.6.1 -- © 2010 by SimuNova UG.