Page 1 of 1

Kronecker product

PostPosted: Mon Nov 26, 2007 5:43 am
by Giovanni
Hello all.
I would like to implement the Kronecker product between 2 matrices.
Can someone help me? I have version 3.0.2 of Lapack.
I should implement something of this sort:

W = kron (WW, eye (m));

Where eye (m) is a matrix identity

Thank you very much.

PostPosted: Fri Nov 30, 2007 1:20 pm
by sven
There is no user documented routine in LAPACK to directly compute the Kronecker product, but if you look in the TESTING/MATGEN directory the routines d/s/c/zlakf2 may be of some help. You could maybe extract part of the code from there.

Best wishes,

Sven Hammarling.

PostPosted: Fri Nov 30, 2007 4:55 pm
by Giovanni
Thank you very much Sven, I try with this solution.

Giovanni

Re: Kronecker product

PostPosted: Wed Dec 09, 2009 2:52 pm
by amolins
did anybody get this worked out?

Re: Kronecker product

PostPosted: Wed Jan 04, 2012 11:26 pm
by cf3372338
The following link contains generic C++ and Fortran 90 codes that calculates Kronecker products of two matrices. One does not have to install any other libraries.

https://sourceforge.net/projects/kronecker/

Re: Kronecker product

PostPosted: Thu Jan 19, 2012 4:20 am
by kamiin
Thanks greatly Sven, I aim using this solution.