Kronecker product

Open discussion regarding features, bugs, issues, vendors, etc.

Kronecker product

Postby Giovanni » Mon Nov 26, 2007 5:43 am

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.
Giovanni
 
Posts: 2
Joined: Fri Nov 23, 2007 7:53 am

Postby sven » Fri Nov 30, 2007 1:20 pm

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.
sven
 
Posts: 144
Joined: Wed Dec 22, 2004 4:28 am

Postby Giovanni » Fri Nov 30, 2007 4:55 pm

Thank you very much Sven, I try with this solution.

Giovanni
Giovanni
 
Posts: 2
Joined: Fri Nov 23, 2007 7:53 am

Re: Kronecker product

Postby amolins » Wed Dec 09, 2009 2:52 pm

did anybody get this worked out?
amolins
 
Posts: 13
Joined: Mon Sep 29, 2008 11:49 am

Re: Kronecker product

Postby cf3372338 » Wed Jan 04, 2012 11:26 pm

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/
cf3372338
 
Posts: 1
Joined: Wed Jan 04, 2012 11:25 pm

Re: Kronecker product

Postby kamiin » Thu Jan 19, 2012 4:20 am

Thanks greatly Sven, I aim using this solution.
kamiin
 
Posts: 1
Joined: Mon Jan 16, 2012 12:46 pm


Return to User Discussion

Who is online

Users browsing this forum: Google [Bot] and 1 guest