I am interested in porting my Matlab implementation to C++ for speed improvement. I tried armadillo. It is perfect for porting code from Matlab because Armadillo's library functions names/syntax is very close to that of Matlab programming. However I realized that at some places Matlab out performed armadillo because my data is mainly sparse and armadillo does not give it any special treatment and simply treats it as dense matrices. Armadillo team is working on sparse matrices support but currently it is not available. So I am looking for a library which like Armadillo has syntax very close to Matlab (or is easy to use) and supports sparse matrices for speed and space optimization.
Not sure what you are trying to do but try SPAMS. it's a good and fast sparse modeling implementation.
Version 3.6.2 has more Sparse Matrices support.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With