I need a VBA function (of type Double) to calculate the inner product of two arbitrary matrices in an Excel spreadsheet. The function should automatically use the smaller of the row and/or column dimensions in case the matrices are not of the same size. I wrote this code but it is returning "#VALUE!". Can anyone help, please? Thanks!
Please Login or Register to view this content.
Bookmarks