unfold: Unfold (matricize) a tensor along a mode
Description
Unfold (matricize) a tensor along a mode
Usage
unfold(x, mode)# S4 method for dtensor,numeric
unfold(x, mode)
# S4 method for sptensor,numeric
unfold(x, mode)
Arguments
mode
dimension to unfold along