Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Math/MovingWindowAverageFast.h |
Include |
#include "Math/MovingWindowAverageFast.h" |
template<typename T, int32 ArraySize>
class FMovingWindowAverageFast
This class calculates a moving window average. Its designed to be used with floats or doubles and keeps track of the average with every value pushed so is ideal when there is a one to one or one to many relationship between calls to PushValue() and GetMovingWindowAverage() respectively.
Name | Description | |
---|---|---|
|
FMovingWindowAverageFast() |
Name | Description | ||
---|---|---|---|
|
T |
GetAverage() |
|
|
PushValue ( |