matricization
Matricization, also known as unfolding, is a process in multilinear algebra that converts a tensor into a matrix by rearranging its elements while preserving its mode structure. Given a tensor X of order N with dimensions I1 x I2 x ... x IN, the mode-n matricization X_(n) yields a matrix of size In x (I1 I2 ... I_{n-1} I_{n+1} ... IN). Each mode-n fiber (a vector obtained by fixing all indices except n) becomes a column of X_(n); equivalently, X_(n) arranges the slices perpendicular to mode n into columns.
Common convention defines the columns of X_(n) according to a chosen lexicographic ordering of the indices other
For a concrete example, a third-order tensor X in R^{I x J x K} has three matricizations:
Matricization is a fundamental tool in tensor decompositions. In Tucker and CANDECOMP/PARAFAC (CP) decompositions, the factor