如何将二维 a(5,3) 和 b (3,5) 相乘,
所以数组 c( , )= a(5,3) 和 b (3,5)
数组的第一行 a * 数组的列b 然后
数组 a 的第二行 * 数组 b 然后的列
[编辑] 您的评论代码:
Dim arry1(5, 3) As Integer
Dim arry2(3, 5) As Integer
Dim i, j As Integer
For i = 1 To 5
For j = 1 To 3
arry1(i, j) = Int(9 * Rnd + 1)
Next i, j
For i = 1 To 3
For j = 1 To 5
arry2(i, j) = Int(9 * Rnd + 1)
Next i, j