Difference between revisions of "Kronm.m"

From Spinach Documentation Wiki
Jump to: navigation, search
Line 1: Line 1:
 
{{DISPLAYTITLE:kronm.m}}
 
{{DISPLAYTITLE:kronm.m}}
−
Calculates (Q{1}(x)Q{2}(x)...(x)Q{n})*x without opening Kronecker products.
+
Calculates (Q{1}(x)Q{2}(x)...(x)Q{n})*x without opening Kronecker products. This function is at the core of the [[tensor_train_module|polyadic module]] of ''Spinach'' - once a matrix-vector product can be done in a compressed matrix format, almost everything else can be.
  
 
==Syntax==
 
==Syntax==
  
 
     x=kronm(Q,x)
 
     x=kronm(Q,x)
−
 
−
==Description==
 
−
This function is at the core of the polyadic module of ''Spinach'' - once a matrix-vector product can be done in a compressed matrix format, almost everything else can be.
 
  
 
==Arguments==
 
==Arguments==

Revision as of 09:53, 21 August 2018

Calculates (Q{1}(x)Q{2}(x)...(x)Q{n})*x without opening Kronecker products. This function is at the core of the polyadic module of Spinach - once a matrix-vector product can be done in a compressed matrix format, almost everything else can be.

Syntax

    x=kronm(Q,x)

Arguments

   Q -    cell array of Kronecker terms

   x -    a vector or a matrix of appropriate dimension

Outputs

   x -    a vector or a matrix of appropriate dimension

See also

polyadic.m, ttclass.m


Version 2.1, authors: Ilya Kuprov