Registered Member
|
Hi,
I'd like to use Eigen for numerical approximations to differential equations. One of the reasons I chose Eigen was its support for band matrices. I have a couple of questions about the topic. It seems that BandMatrix is not a type of sparse matrix, so it's not possible to do things like matrix multiplication. What's the reason for this? I'm also struggling to find documentation on using the BandMatrix class. I came across this helpful thread https://forum.kde.org/viewtopic.php?f=74&t=118306&p=296188&hilit=eigen+band#p296188 on the forum, but I don't understand the last post about "filling it through its diagonals". I discovered the setConstant method, but I don't necessarily want the diagonal to be constant. How can I learn more about this? Thanks krey |
Moderator
|
Because of lack of man-power, so far, the BandMatrix class offers storage only. You can set any diagonal just like any vector.
|
Registered Member
|
Hello .
Now do you solve your problem? Does eigen support sparse bandmatrix? |
Registered Member
|
@ggael,
Any improvement on that? There is a simple vanilla code for solving Tri Diagonal matrix system. Could you use that? |
Registered users: Bing [Bot], Evergrowing, Google [Bot], rblackwell