# Kron.m

From Spinach Documentation Wiki

Kronecker product of two matrices in a tensor train format. Syntax:

c=kron(a,b)

WARNING: the result is not the same as the flat matrix Kronecker product (it is a row and column permutation away from it), but the resulting order of elements is consistent with the output of the tensor train vectorization (ttclass/vec) operation output.