Function apodize::cosine_at [] [src]

pub fn cosine_at(
    a: f64,
    b: f64,
    c: f64,
    d: f64,
    size: usize,
    index: usize
) -> f64

returns the value of the cosine window of size with the coefficients a, b, c and d at index

Panics

panics unless 1 < size