925 Views
In this post I describe the Simple Moving Average, show a common optimisation for calculating it, and show a C# implementation. Finally I use Spectre.Console to allow calling the calculator, passing in the values and the window size k. In subsequent posts I'll expand on this implementation to add extra features and make it thread-safe.
0 comments