|
Boost Users : |
From: jhr.walter_at_[hidden]
Date: 2003-06-09 13:46:20
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
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