matrix iterator each element

12 Mar
2010
12 Mar
'10
10:23 a.m.
Hello, I have very large matrices (not sparse), where I have to change each element. From the documentation I used the example with which two for-loops. I use for vectors: blas::vector<T> l_vec = p_vec; BOOST_FOREACH( T& i, l_vec) i = std::pow(i, p_exponent); Is there any way to process each element in the matrix with a loop and an iterator? Thanks Phil
5529
Age (days ago)
5529
Last active (days ago)
0 comments
1 participants
participants (1)
-
Kraus Philipp