array_collapse_left: array_collapse_left

View source: R/array_ops.R

array_collapse_leftR Documentation

array_collapse_left

Description

Calculates the matrix product between an array and a vector.

Usage

array_collapse_left(A, B)

Arguments

A

A 3-D array with shapes n x m x k.

B

A matrix with shapes m x 1.

Details

For an array A with shapes n x m x k and a vector B with shape m, this operations returns a matrix C, with shapes n x k, so that C[,i] = A[,,i]


kDGLM documentation built on April 4, 2025, 4:44 a.m.