kron

kron — Kronecker product (.*.)

Calling sequence

kron(x,y)   
x.*.y  

Description

Kronecker tensor product of two matrices x and y. Same as x.*.y . x and y 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)