pub fn hann<F>(n: F, size: F) -> F
where F: Float + FloatConst,