Difference between revisions of "Kronm.m"
m (Spot-edit Spinach function page first-line NOTOC and template fields) |
m (Rename Arguments section heading to Parameters) |
||
| Line 6: | Line 6: | ||
x=kronm(Q,x) | x=kronm(Q,x) | ||
| − | == | + | ==Parameters== |
Q - cell array of Kronecker terms | Q - cell array of Kronecker terms | ||
Revision as of 17:50, 5 June 2026
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)
Parameters
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
Notes
Unit matrix operands are skipped.
See also
Version 2.2, authors: Ilya Kuprov