Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.

how to solve Polynomial multiplication of vector

huicai__xiang
Beginner
532 Views

Hi.

I'm looking for a function in MKL or IPP or other related libraries
that does element-wise multiplication on vector and matrix.

vector [a1, a2, a3, ...am]

matrix b

[b11, b12, b13, ...b1m

b21, b22, b23, ...b2m

...

bn1, bn2, bn3, ...bnm]

result =

[(a1^0*b11 + a1^1*b21+... + a1^(n-1)*bn1),

(a2^0*b12 + a2^1*b22+... + a2^(n-1)*bn2),

...

(am^0*b1m + a2^1*b2m+... + a2^(n-1)*bnm),

]

The elements will be floating point numbers (doubles or floats).

I searched the MKL and IPP documentations,
but could not find the function that does this operations.
Is there a function for this?
Thanks.

0 Kudos
3 Replies
Abhinav_S_Intel
Moderator
532 Views

Here is the reference guide to multiply the elements of two vectors in IPP:

https://software.intel.com/en-us/ipp-dev-reference-mul ;

0 Kudos
Gennady_F_Intel
Moderator
532 Views

+ the link to the MKL part - https://software.intel.com/en-us/node/521769

0 Kudos
Pavel_B_Intel1
Employee
532 Views

IPP does not support matrix multiplication operations, please use MKL for this.

Pavel

0 Kudos
Reply