This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Returns the discrete, linear convolution of two vectors. | |
** Convolution in time/space is equivalent to multiplication in the frequency domain. | |
This function is equivalent to numpy's convolve function with the default 'full' parameter | |
example : | |
------ | |
vec1 = [2,3,4] | |
vec2 = [1,2,3] |