This is a pre-release version (2.0.0.dev0+git20260907.41eeb59).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / signal / _signaltools / _conv_ops

function

scipy.signal._signaltools:_conv_ops

source: build-install/usr/lib/python3.14/site-packages/scipy/signal/_signaltools.py:1096

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