
7 Jun
2003
7 Jun
'03
6:49 a.m.
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