unfold {tensorMiss}R Documentation

Tensor unfolding

Description

Performing to multi-dimensional arrays tensor unfolding, also known as matricization

Usage

unfold(ten, k)

Arguments

ten

A multi-dimensional array.

k

An integer specifying the mode of array to unfold.

Value

A matrix

Examples

unfold(array(1:24, dim=c(3,4,2)), 2);




[Package tensorMiss version 1.1.1 Index]