matrix algebra with Vensim

Use this forum to post Vensim related questions.
Post Reply
cchab
Junior Member
Posts: 7
Joined: Fri Feb 11, 2005 4:33 pm

matrix algebra with Vensim

Post by cchab »

1/ Do you a way to multiply matrix in vensim ?

2/ Vensim does accept to invert
singular (ie wit 0 determinant) matrix, without warning !

for instance

invert matrix( 1 2) has result (0 .5)
(2 4) (.5 0)

is it possible to check the problem ?
bob@vensim.com
Senior Member
Posts: 1107
Joined: Wed Mar 12, 2003 2:46 pm

Post by bob@vensim.com »

the product of a[dim1,dim2] and b[dim2,dim3] is

axb[dim1,dim3] = SUM(a[dim1,dim2!]*b[dim2!,dim3)

As for inverting - do you mean the vector

1,2

when passed to matrix inversion returns the vector

0,.5 or something else?

In any case i will take a look at this.
Post Reply