EconForge / interpolation.py

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

Albop/code generation #38

Closed albop closed 5 years ago

albop commented 5 years ago

This PR adds new functions eval_spline, eval_cubic and filter_cubic, whose code is generated just in time. They are more flexible than older vec_eval_cubic and similar functions. They also generalize mlinterp with more extrapolation options.