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

How are sparse matrices stored in Eigen?

Tags: None
(comma "," separated)
marvisiyer
Registered Member
Posts
21
Karma
0
Hi, I would like to know how are sparse matrices stored in Eigen when I assemble them using triplets? Are they stored in the compressed column storage or compressed row storage or some other format?

Thanks
aluaces
Registered Member
Posts
13
Karma
0
OS
In whatever ordering (row/col) your matrix was defined, and into a uncompressed format. See the sparse module documentation and set_from_triplets() in /src/SparseCore/SparseMatrix.h as reference.
User avatar
ggael
Moderator
Posts
3447
Karma
19
OS


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]