MCPcopy
hub / github.com/scikit-learn/scikit-learn / ifft

Function ifft

sklearn/externals/array_api_compat/common/_fft.py:27–39  ·  view source on GitHub ↗
(
    x: Array,
    /,
    xp: Namespace,
    *,
    n: int | None = None,
    axis: int = -1,
    norm: _Norm = "backward",
)

Source from the content-addressed store, hash-verified

25 return res
26
27def ifft(
28 x: Array,
29 /,
30 xp: Namespace,
31 *,
32 n: int | None = None,
33 axis: int = -1,
34 norm: _Norm = "backward",
35) -> Array:
36 res = xp.fft.ifft(x, n=n, axis=axis, norm=norm)
37 if x.dtype in [xp.float32, xp.complex64]:
38 return res.astype(xp.complex64)
39 return res
40
41def fftn(
42 x: Array,

Callers 1

transformMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…