This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Band matrix support in Eigen

Tags: None
(comma "," separated)
User avatar
kreykrey
Registered Member
Posts
6
Karma
0

Band matrix support in Eigen

Thu Jan 21, 2016 2:58 am
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
User avatar
ggael
Moderator
Posts
3447
Karma
19
OS

Re: Band matrix support in Eigen

Mon Jan 25, 2016 11:36 am
Because of lack of man-power, so far, the BandMatrix class offers storage only. You can set any diagonal just like any vector.
maolijian
Registered Member
Posts
2
Karma
0

Re: Band matrix support in Eigen

Thu Feb 28, 2019 2:59 am
Hello .
Now do you solve your problem?
Does eigen support sparse bandmatrix?
Royi
Registered Member
Posts
34
Karma
0

Re: Band matrix support in Eigen

Sun Mar 10, 2019 10:03 am
@ggael,
Any improvement on that?

There is a simple vanilla code for solving Tri Diagonal matrix system.
Could you use that?


Bookmarks



Who is online

Registered users: Bing [Bot], Evergrowing, Google [Bot], rblackwell