Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,14 @@
//!
//! ### Output Order
//!
//! Elements in the output are ordered by ascending frequency, with the first element corresponding to frequency 0.
//! Elements in the output have the following order:
//!
//! 1. Frequency zero
//! 2. Positive frequencies, from smallest magnitude to largest
//! 3. Negative frequencies, from largest magnitude to smallest
//!
//! For example, with 6 elements and a sample rate `fs`, the output frequencies are
//! `[0, fs/6, 2*fs/6, 3*fs/6, -2*fs/6, -fs/6]`, where `3*fs/6` is the Nyquist frequency.
//!
//! ### AVX Performance Tips
//!
Expand Down
Loading