Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.
6591 Discussions

Element-wise vector-vector multiplication in MKL?

Customer__Intel4
Beginner
579 Views
Does MKL have any function that doeselement-wise vector-vector multiplication?
0 Kudos
4 Replies
Gennady_F_Intel
Moderator
579 Views
yes, see ?dot (...) routines which compute a vector-vector dot product
TimP
Black Belt
579 Views
It's written up in documentation/mkl mkl manual. 6 data types supported for v?Mul().
Customer__Intel4
Beginner
579 Views
ThanksGennadyand Timp ! I mean what thev?Mul() does, not the dot product.
Don_Ritchie
Beginner
579 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.
Reply