Registered Member
|
Hi,
How can I access the elements of a BandMatrix? The following does not work:
And how can I initialize the banded matrix? Thanks for your help. Luis Manuel |
Registered Member
|
When you have a bandMatrix, the only way to address it is by addressing its (sub/super-)diagonals, with the diagonal(index) method, which returns a normal expression that you can initialize in the usual ways.
Join us on Eigen's IRC channel: #eigen on irc.freenode.net
Have a serious interest in Eigen? Then join the mailing list! |
Registered Member
|
Ok, not what I was hoping for, but it does provide a way to access the elements.
Thanks for the quick reply, Saludos, Luis Manuel |
Registered users: Bing [Bot], Google [Bot], Sogou [Bot]