Registered Member
|
Hi all,
Is there a way to tell Eigen that a specific matrix only has a block that is non-zero? Like, for example, the triangular view - but "block"-view. So one might do:
I'm looking to generate optimized code that does not use all the zeros in a matrix. Thanks for the assistance! Best Emil |
Moderator
|
Nope, you must use A.block(...) and pick respective blocks of Q and R. by hand.
|
Registered Member
|
I see.
Is this a planned feature, or is there somewhere I can request it as an official feature? When using Eigen in embedded systems this often comes up, and is very good when to automatically generate algorithms at compile time. |
Registered users: Bing [Bot], daret, Google [Bot], sandyvee, Sogou [Bot]