Registered Member
|
Hey folks,
I'm really happy with using Eigen, however I stumbled upon a problem today. I need to save a bunch of sparse matrices to a file (contrary to viewtopic.php?f=74&t=98756, where a single matrix is stored in a single file). Even though the code in MarketIO does not look to complicated I would prefer not to mess up the Eigen code, since I'm not experienced in writing template code. I wonder if there is a method to pack all necessary information of a sparse matrix into a single data buffer which I can write to a file by myself. Greetings, dsteiner |
Moderator
|
|
Registered Member
|
Okay no problem, I will write my own function in that case (I already did for dense matrices, but that is really straight forward ).
However, I guess adding a general function like EigenObject2Mem and Mem2EigenObject would be nice and would allow people to freely load and save matrices/vectors/arrays in custom ways. |
Registered users: Bing [Bot], Google [Bot], q.ignora, watchstar