hamming static method

Float64List hamming(
  1. int size
)

Returns a Hamming window.

This is a kind of cosine window. w[i] = 0.54 - 0.46 * cos(2πi / (size - 1))

Implementation

static Float64List hamming(int size) => cosine(size, 0.46);