Able
Askowl Base Library Enabler
Askowl.ExponentialMovingAverage Class Reference

An exponential moving average is a way to calculate an average where older values have less impact on the average than more recent ones. More...

Public Member Functions

 ExponentialMovingAverage (int lookBack=9)
 Initialise with a look-back parameter - being how many points will effect the current value. More...
 
float Average (float value)
 Method with side-effects. Provide the next sample in the stream and get give back the exponential moving average. More...
 
float AverageAngle (float degrees)
 Method with side-effects. Provide the next sample in the stream of angles and get give back the exponential moving average in degrees. Result will be between -180 and 180. More...
 

Detailed Description

Constructor & Destructor Documentation

◆ ExponentialMovingAverage()

Askowl.ExponentialMovingAverage.ExponentialMovingAverage ( int  lookBack = 9)

Member Function Documentation

◆ Average()

◆ AverageAngle()


The documentation for this class was generated from the following file: