|
Boost Users : |
From: cerenoc (julm_at_[hidden])
Date: 2003-06-07 01:49:51
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
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net