mario.calc_Z#
\[Z = z \operatorname{diag}(X)\]
- mario.calc_Z(z, X)#
Calculate the
Zintersectoral transaction flows matrix.- Parameters:
z (pandas.DataFrame) –
zintersectoral transaction coefficients matrix.X (pandas.DataFrame) –
Xtotal production vector. Its index must match the columns ofz.
- Returns:
Zintersectoral transaction flows matrix. Each column ofzis scaled by the corresponding production value inX.- Return type:
pandas.DataFrame