arrayprod {RCM} | R Documentation

## An auxiliary R function to 'array' multiply an array with a vector, kindly provided by Joris Meys

### Description

An auxiliary R function to 'array' multiply an array with a vector, kindly provided by Joris Meys

### Usage

    arrayprod(x, y)

### Arguments

`x` | a axbxc array
`y` | a vector of length c

### Value

a axb matrix. The ij-th element equals sum(x[i,j,]*y)

[Package RCM version 1.0.0 Index]