Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 15244

Splitting a Multidimensional Array

$
0
0
So I'm trying to write a function that can do Dot Product calculations on arrays. I want to use the SumProduct worksheet function to do this. I demonstrated what I'm trying to do on the worksheet with the attached image:


Name:  sumprodutcs.jpg
Views: 13
Size:  23.8 KB

I want to do this using VBA, and for each column of W. The issue is that W is a two dimensional array and I need to split each column into its own array. I'm not sure how to do this efficiently. Or how to do it period.

Any thoughts on how I can split W column wise?

Thanks
Attached Images
 

Viewing all articles
Browse latest Browse all 15244

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>