Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Grigoras_V_
Beginner
285 Views

Kronecker product

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!

0 Kudos
4 Replies
285 Views

Hi Grigoras,

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

--Vipin

Grigoras_V_
Beginner
285 Views

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.

285 Views

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

Royi
Novice
285 Views

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

Reply