Skip to content

IFFT

Inverse of fft, scaled by 1 / n. Same routing, same out= semantics, same any-length support.

specux.ifft(X, backend="auto", out=None) # (..., n) complex -> (..., n)
z = (np.random.randn(8, 4096) + 1j * np.random.randn(8, 4096)).astype(np.complex64)
Z = specux.fft(z)
w = specux.ifft(Z) # recovers z to float32 rounding

Parameters

  • X: complex rows shaped (..., n).
  • backend: "auto" follows the input’s device.
  • out: optional preallocated result buffer (copy semantics).

The configured form

Z = (np.random.randn(8, 4096) + 1j * np.random.randn(8, 4096)).astype(np.complex64)
w = specux.IFFT()(Z)