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

Element-wise vector-vector multiplication in MKL?

Customer__Intel4
Beginner
2,029 Views
Does MKL have any function that doeselement-wise vector-vector multiplication?
0 Kudos
4 Replies
Gennady_F_Intel
Moderator
2,029 Views
yes, see ?dot (...) routines which compute a vector-vector dot product
0 Kudos
TimP
Honored Contributor III
2,029 Views
It's written up in documentation/mkl mkl manual. 6 data types supported for v?Mul().
0 Kudos
Customer__Intel4
Beginner
2,029 Views
ThanksGennadyand Timp ! I mean what thev?Mul() does, not the dot product.
0 Kudos
Don_Ritchie
Beginner
2,029 Views
If you're looking for what, long ago, was called a dyad:
M(i,j)=x(i)*y(j),
this is called a "rank-1 update" in blas level 2. It's done by the ger/sger/dger routines for a general case.
0 Kudos
Reply