EconForge / interpolation.py

BSD 2-Clause "Simplified" License
123 stars 35 forks source link

generalize filter_cubic #40

Open albop opened 5 years ago

albop commented 5 years ago

Currently the filter_cubic function has the following restrictions:

  1. only d<=4
  2. ignores terminal conditions (always natural splines) 3.- does only cubic splines

It would be good to remove some or all of these restrictions. 1. and 2. are probably easy.