Community
cancel
Showing results for 
Search instead for 
Did you mean: 
hagai_sela
Beginner
69 Views

vector direct product

Hi,
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.

Hagai.

0 Kudos
3 Replies
Gennady_F_Intel
Moderator
69 Views

Hi,

regardingIPP:
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

MKL:
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.

hagai_sela
Beginner
69 Views


Hi,
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).

http://mathworld.wolfram.com/VectorDirectProduct.html
Gennady_F_Intel
Moderator
69 Views


Upps, I am sorry -:). There are no such functions in both our libraries. I'd recommend you submit this Feature Request at http://premier.intel.com

Reply