Difference between revisions of "Ttclass/kron.m"
m (Add missing Version/authors metadata and remove raw author emails) |
m (Repair ttclass function page template) |
||
| Line 1: | Line 1: | ||
| − | Kronecker product of two matrices in a tensor train format. Syntax | + | {{DISPLAYTITLE:ttclass/kron.m}} __NOTOC__ |
| + | Kronecker product of two matrices in a tensor train format. | ||
| + | |||
| + | ==Syntax== | ||
c=kron(a,b) | c=kron(a,b) | ||
| − | WARNING: the result is not the same as the flat matrix Kronecker | + | ==Arguments== |
| − | the resulting order of elements is consistent with the | + | |
| + | 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== | ==See also== | ||
Revision as of 18:04, 5 June 2026
Kronecker product of two matrices in a tensor train format.
Syntax
c=kron(a,b)
Arguments
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