hanning static method

Float64List hanning(
  1. int size
)

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);