I have the following loop that I would like to optimize. Are there any IPP function for each of these statements in the for loop?
double fast_product_sum(int n, double *a, int* indexes, double* b, double* c)
double sum = 0.0;
for (int i = 0; i < n; i++)
c = a + b[indexes];
sum += a + b[indexes];
I apprieciate any help in this matter.