Registered Member
|
Any suggesitions?
the code below seems a bit messy,
it seems there is not only one interface for Matrix and sub matrices, am i wrong? Also mapping to directly data seems does not work, i think alignement problems, the "stride thing".
All i want to do is like this
After some update on sub_sub, there must be concurrent updates on sub and mtr, do i want so much? only pointer change must be done. Is there a way throught what i want? |
Moderator
|
if you can use C++11 features, then the 'auto' keywords might help:
auto sub = mtr.block(...); auto sub_sub = sub.block(...); For many reasons it is not possible to add what you're looking for into Matrix, but we are in the process of adding a new class for that and more. |
Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell, Yahoo [Bot]