Hi, I am trying to use the BLAS/LAPACK libraries in C to perform some memory intensive calculations. One way to speed this up would be for me to produce a sparse (actually, diagonal) complex matrix, of size at least 1000 * 1000. I noticed that BLAS has methods to generate sparse matrices by listing the non zero entries and their indices, but I haven't been able to find a method to generate complex sparse/diagonal matrices, and I don't really want to populate an entire array with predominantly zeroes.
Does anyone have any ideas?
Thanks very much
Marta

