mljs / savitzky-golay

Savitzky–Golay filter
https://mljs.github.io/savitzky-golay/modules.html
MIT License
34 stars 1 forks source link

chore: reduce two operations in loop #24

Closed jobo322 closed 3 years ago

jobo322 commented 3 years ago

I think the result would be the same if k starts from 0.