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 -- Generated on 24 Aug 2009 by Doxygen 1.5.9 -- Copyright 2008-09 by TU Dresden and the Trustees of Indiana University.