Function nibonacci

Source
pub fn nibonacci<T, U>(signature: U, n_elem: usize) -> Vec<T>
where T: Num + Copy, U: IntoIterator, U::Item: Deref<Target = T>,
Expand description

Returns the first n_elem elements from a sequence which sums the last L elements to produce the next element where L is the length of the given signature. The signature elements are the first elements yielded.