This material is part of the course Practical Introduction to Parallel Programming and meant for educational purposes only.
Task
Write a parallel program that computes the dyadic product
\begin{equation*}
\mathbf{x}\mathbf{y}^\top=
\begin{bmatrix}
x_1y_1 & x_1b_2 & \cdots & x_1y_N\\
x_2y_1 & x_2b_2 & \cdots & x_2y_N\\
\vdots & \vdots & \ddots & \vdots\\
x_Ny_1 & x_Nb_2 & \cdots & x_Ny_N
\end{bmatrix}
\end{equation*}
for two vectors \(\mathbf{x},\mathbf{y}\in\mathbb{R}^N\).
Test your program for different scheduling strategies and chunk sizes, and different values for \(N\).