pub fn fibbonacci_range<T, U>(range: T) -> Vec<U>
Expand description
Calculate the fibbonacci numbers for a range of numbers. The function may panic if the type U is not large enough to hold the result.
ยงExamples
let x = quickfib::fibbonacci_range(0..10);
assert_eq!(x, vec![0, 1, 1, 2, 3, 5, 8, 13, 21, 34]);