Learn R Programming

tensr (version 1.0.1)

listprod: Element-wise matrix products between two lists.

Description

Given two lists of matrices with conformable dimensions, listprod returns a list whose elements are the matrix products of the elements of these two lists.

Usage

listprod(A, B)

Arguments

A

A list of matrices.

B

A second list of matrices.

Value

A list C such that C[[i]] = A[[i]] %*% B[[i]].