Skip to main content

general_cosine

Function general_cosine 

Source
pub fn general_cosine(m: usize, a: &[f64], sym: bool) -> Vec<f64>
Expand description

This function generates a general cosine window based on the specified coefficients a and symmetry. It is used as a building block for more specific window functions like the Blackman and Nuttall windows, which can be defined as special cases of the general cosine window with specific coefficient values.