Calculate the convolution of two arrays.
| a | Input array 1. | 
| b | Input array 2. | 
| return value | The convolution of the two inputs. | 
The input arrays a and b can be any mathematical objects that can be multiplied and then added together.
This function is also used to calculate the product of polynomials represented by arrays (vectors).