hanning static method
Returns a Hanning window.
This is a kind of cosine window.
w[i] = 0.5 - 0.5 * cos(2πi / (size - 1))
Implementation
static Float64List hanning(int size) => cosine(size, 0.5);
Returns a Hanning window.
This is a kind of cosine window.
w[i] = 0.5 - 0.5 * cos(2πi / (size - 1))
static Float64List hanning(int size) => cosine(size, 0.5);