mario.calc_v
- mario.calc_v(V, X)#
Calculate the
vvalue added coefficients matrix.\[v = V\,\operatorname{diag}(X)^{-1}\]- Parameters:
V (pandas.DataFrame) –
Vvalue added transaction flows matrix.X (pandas.DataFrame) –
Xtotal production vector.
- Returns:
vvalue added 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.