Page 1 of 1
Matrix Multiplication
Posted: Fri Oct 22, 2010 7:17 pm
by khalediwm
I am just wondering, does anybody know how to carryout matrix multiplication in Vensim, without writing the whole equation manually?
Posted: Sat Oct 23, 2010 10:23 am
by bob@vensim.com
Suppose you have three dimensions x,y,z which are implemented as subscripts. Then
matrix product of a and b[x,z] = SUM(a[x,y!]*b[y!,z])
if x,y and z are not distinct dimensions you will need to create an equivalence subscript.
Posted: Sun Oct 24, 2010 4:26 am
by khalediwm
Thanks a lot.