Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Intel Community
- Software
- Software Development SDKs and Libraries
- Intel® oneAPI Math Kernel Library
- dense-sparse matrice multiplication

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page

Vahid_Jalili

Beginner

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

04-11-2011
05:40 PM

84 Views

dense-sparse matrice multiplication

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 use**mkl_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

Sergey_P_Intel2

Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

04-12-2011
01:40 AM

84 Views

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

Vahid_Jalili

Beginner

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

04-12-2011
05:49 AM

84 Views

Thanks Sergey for your reply. I found it very helpful.

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

For more complete information about compiler optimizations, see our Optimization Notice.