Function maths_rs::poly_impulse

source ·
pub fn poly_impulse<T: Number + Float + Base<T> + FloatOps<T>>(
    k: T,
    x: T,
    n: T
) -> T
Expand description

returns a quadratic impulse (y position on a graph for x); n is the degree of the polynomial and k controls the stretching of the function