mlx.core.fft.rfftfreq#
- rfftfreq(n: int, d: float = 1.0, stream: Stream | ThreadLocalStream | Device | mlx.core.DeviceType | None = None) array#
Return the discrete Fourier Transform sample frequencies for use with
rfft()andirfft().The returned array contains the non-negative frequency terms in the range
[0, floor(n/2)].