rowtens: Compute the row tensor product of two matrices

View source: R/rowtens.R

rowtensR Documentation

Compute the row tensor product of two matrices

Description

Compute the row tensor product of two matrices with identical numbers of rows.

Usage

rowtens(X, Y = X)

Arguments

X

a numeric matrix.

Y

a numeric matrix (if missing, Y = x).

Details

The input matrices must have the same number of rows, say m. If their numbers of columns are n1 and n2, the result is a matrix with m rows and n1 * n2 columns. Each row of the result is the Kronecker product of the corresponding rows of X and Y.

Value

The row-wise tensor product of the two matrices.

Author(s)

Paul Eilers

References

Eilers, P. H. C. and Currie, I. D. and Durban, M. (2006) Fast and compact smoothing on large multidimensional grids CSDA 50, 61–76.


JOPS documentation built on Sept. 8, 2023, 5:42 p.m.

Related to rowtens in JOPS...