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

Hello.

I am new to Intel MKL and I am sorry if my question seems out of line.

Is there any function or subroutine in MKL that computes the kronecker product of two matrix (like kron in matlab).

Also is there a function in MKL that returns the identity matrix of a specified dimension (like eye(n) in matlab).

Thank you!

Link Copied

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

Hi Grigoras,

The equivalent BLAS routine for the Kronecker product of two matrices would be the GEMM.

--Vipin

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

I am sorry, but I can't figure out how to call GEMM to get the Kronecker product.

Could you please give me an example?

I need to compute B=kron(I,A) where I is the identity matrix and A is some 3x3 matrix.

Thank you.

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

Sorry Gregorias, a correction to the above. GEMM may produce the same results in some partial cases only, and not in general. We do not have a specific kronecker equivalent in MKL.

--Vipin

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

Could something which is equivalent to MATLAB eye() and speye() be added with Kron (With Sparse matrices support).

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