- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all,
I want to multiply a dens matrix A into a sparse matrix B, that is saved in the CSC format, as c=AxB. I cannot usemkl_scscmm() becsue it computes BxA. (i.e. the sparse matrix must be the left one)
Could you let me know which sparse routine I can use for this purpose?
Thanks
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Vahid,
For multiplication dense matrix A by sparse one B you can use mkl_scscmm() taking into account that A x B = (B^t x A^t)^t, where ^t means transposition of the matrix. So the matrix A should be transposed before calling mkl_scscmm(), and the result of mkl_scscmm() should be transposed, too.
Regards,
Sergey
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Sergey for your reply. I found it very helpful.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page