Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.

Multiply a dense matrix by a sparse vector

zer0nes
Beginner
358 Views

In MKL, are there routines to multiply a dense matrix by a sparse vector?

I can create a loop and compute the dot product of a sparse vector by a dense vector. However, I wonder if there's a better way.

0 Kudos
1 Reply
Gennady_F_Intel
Moderator
358 Views

There is no such routines in MKL. There is ?doti routine which can be used in that case, but I am not sure regard to would it the better way or not. 

0 Kudos
Reply