ttclass/kron.m

From Spinach Documentation Wiki
Revision as of 18:53, 5 June 2026 by Kuprov (talk | contribs) (Rename Arguments section heading to Parameters)
Jump to: navigation, search

Kronecker product of two matrices in a tensor train format.

Syntax

    c=kron(a,b)

Parameters

    a,b - tensor train objects

Outputs

    c - a tensor trin object

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

See also

ttclass.m, ttclass/mtimes.m, ttclass/full.m, Tensor train functions

Version 2.1, authors: Dmitry Savostyanov, Ilya Kuprov