Skip to main content

rect

Function rect 

Source
pub fn rect<T: Float + One>(len: usize) -> Vec<T>
Expand description

A rectangular window of a given length.

Example usage:

use futuredsp::windows;

let taps: Vec<f32> = windows::rect(64);