[SciPy-user] Usage of block matrices in scipy

Alan G Isaac aisaac at american.edu
Thu Sep 23 08:11:55 CDT 2004

On Thu, 23 Sep 2004, Nils Wagner apparently wrote:
> How can I introduce block matrices in scipy;
> given matrices A and B of appropraite order, I would like to build matrices
> of the form
> C = [A B]
> or
> C = [A; B]

Do you need the blocks to be identifiable after building?
If not, just use concatenate.

> BTW, I cannot find functions for the Kronecker product

Look in the most recent numarray for code.
It will work in Numeric.

> and the vec operator

Try reshape.

Alan Isaac

PS Here's a Kronecker product:

More information about the SciPy-user mailing list