Is there any function I can use in IPP or MKL to calculate the vector direct product of two vector arrays? I am currently using ippmMul_vca in a loop but it's really slow.
Please see ippmDotProduct( ..... ) functions compute dot product of two vectors or Vector-vector arrays operations: Case 1: Vector - vector operation. Case 2: Vector array - vector operation Case 3: Vector array - vector array operation
There are no such operations with arrays in MKL, but there are some functions of vector-vector multiplication for dense and sparse formats:
?dot( ... ) for computing a vector-vector dot product
?doti( .... ) for computing the dot product of a compressed sparse real vector by a full-storage real vector.
Thanks for your answer.
I don't need to dot product - I need the "vector direct product" (multiply each item in the first vector by each item in the second vector).