| tensor_unfold_cpp | R Documentation |
Tensor Unfolding (Matricization) for Synthetic Interventions
tensor_unfold_cpp(T_cube, mode)
T_cube |
A 3D array (cube) of dimensions (n1, n2, n3) |
mode |
The mode to unfold along (1, 2, or 3) |
A numeric matrix: the mode-mode unfolding (matricization) of
T_cube, with dimensions n1 x (n2 * n3), n2 x (n1 * n3), or
n3 x (n1 * n2) for mode 1, 2, or 3 respectively.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.