Matrix Multiplication

Use this forum to post Vensim related questions.
Post Reply
khalediwm
Member
Posts: 42
Joined: Sun Mar 07, 2010 9:58 am

Matrix Multiplication

Post by khalediwm »

I am just wondering, does anybody know how to carryout matrix multiplication in Vensim, without writing the whole equation manually?
bob@vensim.com
Senior Member
Posts: 1107
Joined: Wed Mar 12, 2003 2:46 pm

Post 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.
khalediwm
Member
Posts: 42
Joined: Sun Mar 07, 2010 9:58 am

Post by khalediwm »

Thanks a lot.
Post Reply