(
x: Array,
/,
xp: Namespace,
*,
n: int | None = None,
axis: int = -1,
norm: _Norm = "backward",
)
| 25 | return res |
| 26 | |
| 27 | def 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 | |
| 41 | def fftn( |
| 42 | x: Array, |
no outgoing calls
no test coverage detected
searching dependent graphs…