Community
cancel
Showing results for 
Search instead for 
Did you mean: 
JBervel
Beginner
80 Views

Sparse Matrix Operations

Hello,

I am developing an application that works with sparse matrices.

I have seen mkl_?csradd(...) and mkl_?csrmultcsr(...). These functions just work with CSR format.

There are not more functions to operate with sparse matrices and return results as sparse matrices, but with different storage formats?

For example functions to add and multiply sparse matrices in COO format.


Thanks
0 Kudos
4 Replies
Gennady_F_Intel
Moderator
80 Views

There are not more functions to operate with sparse matrices and return results as sparse matrices, but with different storage formats?
>> not yet.
but as an example, you can use saymkl_dcsrcoo() for convertion a sparse matrix in the coordinate format to CSR, then usemkl_?csradd and then convert from CSR to COO again.
--Gennady
junuylia
Beginner
80 Views

I'm dealing with sparse symmetric matrices, and I think the packed format works pretty well and efficient. It could do add, multipy, inversion, and find eigenvalues. However, for sparse matrices, the current library isn't good enough for me.
Gennady_F_Intel
Moderator
80 Views

yesmaybe for this case.it is always acompromisebetween performance andmemory consumption andusability.
Danesh_Daroui
Beginner
80 Views

Actually, MKL acts OK in this case. How can you be sure that the product of two sparse matrices will be sparse? In general this is not true!

D.
Reply