Expand description
Fast Fourier transforms (lax.fft), with XLA’s conventions: the
forward transforms are not normalized, and the inverse transforms divide
by the number of elements transformed.
The transforms are computed in f64 (radix-2 for powers of two,
Bluestein’s algorithm for other lengths) and rounded once to the result
type, so the results agree with XLA’s (which computes complex64 in
f32) within rounding, not bit for bit.
Enums§
- FftType
- The kind of a Fourier transform (
lax.FftType).
Functions§
- fft
fft: the transform of the lastfft_lengths.len()axes ofx(of shapeshape). The operand must have been checked: its type is accepted byfft_type, and its trailing dimensions matchfft_lengths(forIrfft, the last one isn / 2 + 1).