mario.calc_e
- mario.calc_e(E, X)#
Calculate the
eenvironmental transaction coefficients matrix.\[e = E\,\operatorname{diag}(X)^{-1}\]- Parameters:
E (pandas.DataFrame) –
Eenvironmental transaction flows matrix.X (pandas.DataFrame) –
Xtotal production vector.
- Returns:
eenvironmental transaction coefficients matrix.- Return type:
pandas.DataFrame
Notes
Inverse production is computed elementwise. A zero production entry has inverse zero, so the corresponding column is set to zero.