Registered Member
|
Hello,
I'm working with sparse matrices in eigen3 c++. I would like to export the matrix to a file which will then be read in matlab. What is the best way to do this? Can I save it in binary format (faster) or ASCII is needed? |
Moderator
|
In unsupported/Eigen/SparseExtra you will find a saveMarket("filename", mat) function to export a sparse matrix to ascii matrix market format. That's all we offer for now.
|
Registered Member
|
Thanks ggael. That worked. However a sparse binary extract option would be even better.
|
Registered users: Bing [Bot], Google [Bot], Sogou [Bot]