Skip to main content

triangle

Function triangle 

Source
pub fn triangle(period: usize, length: usize) -> Result<Vec<f64>, ErrorsJSL>
Expand description

Convenience: length samples of a unit triangle wave with an integer period (>= 2).