Refold: Refold

Description Usage Arguments Value

View source: R/Refold.R

Description

Refold

Usage

1
Refold(mat, dimToRecover, mode)

Arguments

mat

kModeUnfolded 2-dimensional simple_sparse_array (not simple_triplet_matrix)

dimToRecover

size of tensor to make

mode

mode of unfold

Value

folded tensor (simple_sparse_array)


liberaldays/TensorSlam documentation built on May 21, 2019, 6:13 a.m.