rufft::itertools

Function zero_pad

Source
pub fn zero_pad<F, I>(n: usize, x: &I) -> Result<I, ()>
where F: Float + FloatConst + NumAssign + 'static, for<'c> I: Iterable<OwnedItem = F, Item<'c> = &'c F>,
Expand description

Clone and zero pad the real valued input collection to the length len