/// <summary> /// Returns the discrete, linear convolution of two one-dimensional sequences. /// /// The convolution operator is often seen in signal processing, where it models the effect of a linear time-invariant system on a signal[1]. In probability theory, the sum of two independent random variables is distributed according to the convolution of their individual distributions. /// /// If v is longer than a, the arrays are swapped before computation. /// </summary> /// <param name="a"></param> /// <param name="v"></param> /// <param name="mode"></param> /// <returns></returns> public static NDArray convolve(NDArray a, NDArray v, string mode = "full") => a.convolve(v, mode);