composeParafac: Compose a tensor from its CANDECOMP/PARAFAC (CP)...

View source: R/900_BTRR_sampling_fns.R

composeParafacR Documentation

Compose a tensor from its CANDECOMP/PARAFAC (CP) decomposition

Description

This function takes a list of length D containing all of the components of the CP decomposition and returning a D-dimensional tensor.

Usage

composeParafac(bb)

Arguments

bb

A list of length D in which each element is a p_d by R matrix

Value

A single array-class tensor. In two-dimensions, this will be returned as a matrix.


danieladamspencer/bayestensorreg documentation built on July 23, 2024, 10:14 a.m.