Overload List
| # | Signature | Description |
|---|---|---|
| 1 | void RunningAverage(TMtx Averaged, TMtx Data, Int32 Count, Int32 Decay) | Result = running average on TMtx data |
| 2 | void RunningAverage(TVec Averaged, TVec Data, Int32 Count, Int32 Decay) | Result = running average |
Overload 1: void RunningAverage(TMtx Averaged, TMtx Data, Int32 Count, Int32 Decay)
Compute running average on TMtx data.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Averaged | TMtx | source TMtx |
| 2 | Data | TMtx | source TMtx |
| 3 | Count | Int32 | |
| 4 | Decay | Int32 |
Result: stored in self (calling object)
See Also: SignalUtils.ExpAverageFilter
Overload 2: void RunningAverage(TVec Averaged, TVec Data, Int32 Count, Int32 Decay)
Compute running average.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Averaged | TVec | source TVec |
| 2 | Data | TVec | source TVec |
| 3 | Count | Int32 | |
| 4 | Decay | Int32 |
Result: stored in self (calling object)
Remarks:
Compute running average of Data and place the result in Averaged. Count defines the Data block count already averaged and Decay defines exponential decay factor. If Decay is zero, the method will compute linear average. This can be usefull to save memory, if a very large amount of large Data blocks has to be averaged. If Decay is bigger then zero, then this routine is the vectorized version of the ExpAverageFilter routine.