kron

Kronecker product (.*.)

Calling Sequence

kron(A,B)
A.*.B

Description

kron(A,B) or A.*.B returns the Kronecker tensor product of two matrices A and B. The resulting matrix has the following block form:

If A is a m x n matrix and B a p x q matrix then A.*.B is a (m*p) x (n*q) matrix.

A and B can be sparse matrices.

Examples

A=[1,2;3,4];
kron(A,A)
A.*.A
`sparse`_(A).*.`sparse`_(A)
A(1,1)=%i;
kron(A,A)

Table Of Contents

This Page