array_collapse_left {kDGLM} | R Documentation |
Calculates the matrix product between an array and a vector.
array_collapse_left(A, B)
A |
A 3-D array with shapes n x m x k. |
B |
A matrix with shapes m x 1. |
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]