Difference between revisions of "Ttclass/kron.m"

From Spinach Documentation Wiki
Jump to: navigation, search
m (Repair ttclass function page template)
m (Rename Arguments section heading to Parameters)
Line 6: Line 6:
 
     c=kron(a,b)
 
     c=kron(a,b)
  
−
==Arguments==
+
==Parameters==
  
 
     a,b - tensor train objects
 
     a,b - tensor train objects

Revision as of 17:53, 5 June 2026

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