So this is another post on the janet journey. My goal here was to create a simple moving average function in janet (maybe just as a functional programming lover).
I created a repo named numja that I intend to put all mathy stuff there. And moving average fits that category.
The second step was to create a small script that would run with the new “lib”.
Simple as the proposition is, simple the code and simple the result. I used the “lib”, and plotted with gnuplot and voila!
/comments ~email@example.com?Subject=Re: Moving averages beatifully