Hello folks :)
I am working on a certain piece of code and i've been searching for a sparse matrix library for c/c++ for quite a while.
I have been freelance searching in the web and for older threads on this board, but the people usually searching for such a lib don't seem to know what they exactly want and don't really seem to have specific. On the other hand, I know perfectly well what I am looking for:
1) I need a sparse CRS matrix format for complex matrices.
2) I want to have an easy access like A->val(i,j) or simply A(i,j) or likewise to accesses that element.
3) Most importantly, I want to be able to set any entry (i,j) . This is were most libs i have tested so far fail.
I have tried Blitz++ (impressive library), but blitz only provides support for dense data structures. I don't really see how anybody can craft such a powerful lib and not include the most important HPC application of all ( large linear systems )
I have tried sparselib++ v1.7 ... i have rewritten the entire comprow_double.h for support complex values and then i realized that sparselib++ actually does not support the option to set the entry (j,k) if it wasn't previously a entry in your sparse structure. I want some library in which i can set a previously zero entry and some functionality should shift all the rowPtrs and colInds and values and resize all arrays... sparselib does not do this.
very important note: i do not really need any other functionality - if the lib has a method to transpose a dense matrix its fine, if it contains matrix*vector or some simple gauss-seidel relaxation or krylov method its cool, but i don't really need it.
I am aware that this is such a small piece of code, i could easily write it myself - however ... i don't really like to do things that have surely be done like 1242341 times before over again :)
it would be very cool, if someone would know such librarys and could suggest something :)
regards, sascha