computes matrix product for arrays a and b: c[,,i] = a[,,i] b[,,i]
multiprod_2terms(a, b)
c array (M x K x T)
array (M x N x T)
array (N x K x T)
This function is based on the "multiprod_2terms" 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