You are viewing an older version (1.17.1).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy 1.17.1 / scipy / signal / _signaltools / _conv_ops

function

scipy.signal._signaltools:_conv_ops

source: /scipy/signal/_signaltools.py:1080

Signature

def _conv_ops(x_shape, h_shape, mode)

Summary

Find the number of operations required for direct/fft methods of convolution. The direct operations were recorded by making a dummy class to record the number of operations by overriding __mul__ and __add__. The FFT operations rely on the (well-known) computational complexity of the FFT (and the implementation of _freq_domain_conv).

Aliases

  • scipy.signal._signaltools._conv_ops