Hi, this is probably a very simple question, so apologies in advance. I need to run a calculation off each row of an array (possibly 100k rows) and then store the value of each row (which will be summed and averaged afterward by one of the column values.)
Array structure example:
An example of a simple calculation:
calc = Do[data[[1, 1]]*data[[1, 2]] + data[[1, 3]], ?? ]
The output I’m looking for in this example would be the calculate 7 times 4+3 and then store the value being 31, then calculate 6 times 9+4 and store the value 58, etc. Then I need to sum these stored values up by Group1, Group2, etc..
Thanks in advance.
