MCPcopy Index your code
hub / github.com/numpy/numpy / _swap_direction

Function _swap_direction

numpy/fft/_pocketfft.py:108–113  ·  view source on GitHub ↗
(norm)

Source from the content-addressed store, hash-verified

106
107
108def _swap_direction(norm):
109 try:
110 return _SWAP_DIRECTION_MAP[norm]
111 except KeyError:
112 raise ValueError(f'Invalid norm value {norm}; should be "backward", '
113 '"ortho" or "forward".') from None
114
115
116def _fft_dispatcher(a, n=None, axis=None, norm=None, out=None):

Callers 3

_raw_fftFunction · 0.85
hfftFunction · 0.85
ihfftFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…