dconv1

dnois.fourier.dconv1(f1: Tensor, f2: Tensor, dim: int = -1, out: Literal['full', 'same', 'valid'] = 'full', padding: int | str = 'linear', real: bool = None) Tensor

1D version of dconv().

Parameters:
  • f1 (Tensor) – The first sequence \(f_1\).

  • f2 (Tensor) – The second sequence \(f_2\).

  • dim (int) – The dimension to be convolved. Default: -1.

  • out (str) – See dconv().

  • padding (int or str) – See dconv().

  • real (bool) – See dconv().

Returns:

Convolution between f1 and f2. Complex if either f1 or f2 is complex or real=False, real-valued otherwise.

Return type:

Tensor