Skip to content

AlexeyKruglov/GenFib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GenFib

Generalized Fibonacci sequence fast calulator

Calculate N first elements of a generalized Fibonacci sequence defined by

a_0 = 1

a_i = sum_{k=1}^i w_k a_{i-k}

in Theta(N log^2 N) time and Theta(N) memory. N is assumed to be a power of 2.

About

Generalized Fibonacci sequence

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages