Determining the Pearson correlation coefficient you need to write down the program computing Pearson correlation coefficient utilizing the parallel loop templates from the Intel Threading Building Blocks library (TBB). The input data are provided in two arrays a and b of values of kind double. The length of each array is 1000. You required to write down the C++ program that
a) Implements a serial (not using parallelism) algorithm in order to compute the Pearson correlation coefficient of data presented in the arrays a and b;
b) Implements the parallel algorithm utilizing the parallel loop templates from the TBB library for computing the same;
c) For a given data determines the Pearson correlation by both the serial and parallel algorithm;
d) Prints out the results of both the algorithms and the acceleration achieved by the paralleliza-tion;