问题
I have arrays of Doubles which need to be multiplied with each other and with some constant value(s).
Array1 = [1.002, 1.009, 1.016 , 1.019]
Array2 = [106, 109, 113 , 119]
Constant1 = 6.54
The output what I need is an array and derived by multiplying the above input data:
ResultArray = [694.626, 719.276, 750.844, 793.047]
In the application there is a massive amount of these calculations and speed is the key. With .NET what is the optimal way to get the ResultArray?
来源:https://stackoverflow.com/questions/16581737/multiplying-two-or-more-arrays-effectively