pymrio.calc_x_from_L
- pymrio.calc_x_from_L(L, y)
Calculate the industry output x from L and a y vector.
x = Ly
The industry output x is computed from a demand vector y
- Parameters
L (pandas.DataFrame or numpy.array) – Symmetric input output Leontief table
y (pandas.DataFrame or numpy.array) – a column vector of the total final demand
- Returns
Industry output x as column vector The type is determined by the type of L. If DataFrame index as L
- Return type
pandas.DataFrame or numpy.array