Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page

hagai_sela

Beginner

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

03-11-2009
04:13 PM

69 Views

vector direct product

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.

Link Copied

3 Replies

Gennady_F_Intel

Moderator

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

03-14-2009
10:33 AM

69 Views

regardingIPP:

Please see ippmDotProduct( ..... ) functions c*ompute 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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

03-14-2009
02:43 PM

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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

03-15-2009
08:57 AM

69 Views

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

For more complete information about compiler optimizations, see our Optimization Notice.