james-bowman/sparse

Sparse vectors in blas package

JZabihi opened this issue · 1 comments

Hi. I'm just wondering if you have any plan for adding the sparse vector representation into blas package the same way as the sparse matrix (referring to RawMatrix() method)?. having access to the actual elements of a sparse vector (data and ind) would be quite useful.
Thanks

Thanks for the suggestion. I have added a RawVector() method to the Vector type to allow access to the underlying data and indices of the sparse vector as used by the BLAS routines.