Matrix Multiplication Function
Category:
Office/VBAType:
SnippetsDifficulty:
IntermediateAuthor:
AnonymousVersion Compatibility: Visual Basic.NET
More information:
Function accepts n arrays (matrices) for multiplication. It cycles through the parameter array multiplying each matrix, checks that the matrices are conformable and then redimensions the product matrix before running through the multiplication routine.
Instructions: Copy the declarations and code below and paste directly into your VB project.
Declarations: