Efficient computation of matrix product for arrays
mult__prod(a, b, c)
array
array
array
#' Efficiently computes matrix product for arrays a and b and c: d[,,i] = a[,,i] b[,,i] c[,,i]. (efficiently = without using an inefficient loop)
This function is modified version of the "mult__prod" function by Le and Singleton (2018).
"A Small Package of Matlab Routines for the Estimation of Some Term Structure Models."
(Euro Area Business Cycle Network Training School - Term Structure Modelling).
Available at: https://cepr.org/40029