LEONTIEF Program

This is a very simple program which returns the input matrix X from a Leontief Input-Output model: X=MX+D.

Instructions are displayed when running the program to remind you of the usage.

The solution is X = (I-M)-1 * D