Mode-k flattening

In multilinear algebra, mode-m flatteningTemplate:R, also known as matrixizing, matricizing, or unfolding,Template:R is an operation that reshapes a multi-way array into a matrix denoted by (a two-way array).
Matrixizing may be regarded as a generalization of the mathematical concept of vectorizing.
Definition
The mode-m matrixizing of tensor is defined as the matrix . As the parenthetical ordering indicates, the mode-m column vectors are arranged by sweeping all the other mode indices through their ranges, with smaller mode indexes varying more rapidly than larger ones; thusTemplate:R
where and By comparison, the matrix that results from an unfolding[1] has columns that are the result of sweeping through all the modes in a circular manner beginning with mode Template:Nowrap as seen in the parenthetical ordering. This is an inefficient way to matrixize.Template:Cn
Applications
This operation is used in tensor algebra and its methods, such as Parafac and HOSVD.Template:Cn
References
- โ Cite error: Invalid
<ref>tag; no text was provided for refs namedDeLathauwer2000