rufft::itertools

Function pad

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

Clone and pad the real valued input collection with the floating point type F to the length len