listprod: Element-wise matrix products between two lists.

View source: R/basic_tensor.R

listprodR Documentation

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]].

Author(s)

David Gerard.


dcgerard/tensr documentation built on Oct. 4, 2022, 5:58 p.m.