Hi, I'm sorry I am new to this and also not up on the math notation you guys are using. I am confused by the definitions of slices and strides. I am trying to perform a reasonably simple operation of e.g. assigning a vector v(2) to a (sub)matrix m(3,3). In matlab notation, for instance: m = 0 1 2 3 4 5 6 7 8 v = 15 16 m(2, 1:2) = v Resulting in m = 0 1 2 15 16 5 6 7 8 What is the best way to do this with uBLAS? Thank you very much Julian
Hi Julian, you wrote:
I'm sorry I am new to this and also not up on the math notation you guys are using. I am confused by the definitions of slices and strides. I am trying to perform a reasonably simple operation of e.g. assigning a vector v(2) to a (sub)matrix m(3,3). In matlab notation, for instance: m = 0 1 2 3 4 5 6 7 8 v = 15 16
m(2, 1:2) = v Resulting in m =
0 1 2 15 16 5 6 7 8
What is the best way to do this with uBLAS?
You didn't like Kresimir Fresl's explanation at http://groups.yahoo.com/group/Boost-Users/message/4209 did you? Unsure-what-your-real-problem-might-be-ly y'rs, Joerg
You didn't like Kresimir Fresl's explanation at
http://groups.yahoo.com/group/Boost-Users/message/4209
did you?
Unsure-what-your-real-problem-might-be-ly y'rs,
Joerg
No, his explanation was great. I accidentally posted the same thing twice. Sorry. Julian
participants (2)
-
cerenoc
-
jhr.walter@t-online.de