dpnp.convolve

dpnp.convolve(a, v, mode='full')[source]

Returns the discrete, linear convolution of two one-dimensional sequences.

For full documentation refer to numpy.convolve.

Examples

>>> ca = dpnp.convolve([1, 2, 3], [0, 1, 0.5])
>>> print(ca)
[0. , 1. , 2.5, 4. , 1.5]