ctprod: Compute the contracted tensor product between two multiway...

Description Usage Arguments Value Author(s)

Description

Computes the contracted tensor product between two multiway arrays.

Usage

1
ctprod(A,B,K)

Arguments

A

An array of dimension P_1 x ... x P_L x R_1 x ... x R_K.

B

An array of dimension R_1 x ... x R_K x Q_1 x ... x Q_M.

K

A positive integer, giving the number of modes to collapse.

Value

An array C of dimension P_1 x ... x P_L x Q_1 x ... x Q_M, given by the contracted tensor product of A and B.

Author(s)

Eric F. Lock


MultiwayRegression documentation built on May 31, 2019, 5:03 p.m.