Hadamard product, i.e., element by element product of matrix df1
and matrix df2
(by blocks). Both matrices must be block matrices, and the
number and dimension of blocks in matrix df1
and df2
must be
compatible.
hmult(df1, df2)
Hadamard product of the two matrices.
A block matrix with named rows and columns (country/sector)
A block matrix with named rows and columns (country/sector)
In a Hadamard product, matrices are multiplied block by block,
i.e., block (s,r) %*% block(s,r)
.