MTL 4: mtl::MatrixInserter< T > Struct Template Reference
#include <matrix.hpp>
Public Types | |
typedef associated_type | matrix_type |
Type of matrix into which is inserted. | |
typedef associated_type | proxy_type |
Return type of element access; only proxy. | |
Public Member Functions | |
proxy_type | operator() (Matrix< matrix_type >::size_type row, Matrix< matrix_type >::size_type col) |
Element access; returns a proxy that handles insertion. |
Used to fill non-mutable matrices like compressed2D. Matrix inserters might be parametrizable with update functor. This allow to perform different operations when entry already exist, e.g. overwriting, incrementing, minimum, ... The most important updates are certainly overwrite and increment (add).
mtl::MatrixInserter< T > Struct Template Reference -- MTL 4 -- Peter Gottschling and Andrew Lumsdaine
-- Gen. with
rev. 7542
on 7 Apr 2011 by doxygen 1.5.9 -- © 2010 by SimuNova UG.