PDA

View Full Version : Matrix Multiplication VBA



steam1901
10-25-2013, 10:28 AM
Hey guys!

So I've been working on this VBA assignment and I've hit a wall :banghead:. I've been working on that problem for hours now, and I have identified the source of the issue, but I have NO IDEA what causes it!!

I'll post the code with detailed comments in it. Hopefully someone can help... it baffles me...

I don't know whether the problem is of a mathematical nature or a programming nature too! I understand you might not be able to help with the mathematical part but confirming the coding is right would already help sooo much.

10746

It might seem like a big code but I've already narrowed down the problem (see comments).

The input is the whole big array, the output should be a 3 x 1 array

Thanks : pray2:

PS: pardon my english... it's getting rusty

Tommy
10-25-2013, 11:22 AM
It is in the MMult function, the arrays have to be the same size.
See here : http://msdn.microsoft.com/en-us/library/office/ff835849(v=office.15).aspx

steam1901
11-02-2013, 07:34 PM
My arrays are the right sizes!