RSeries astromech firmware
|
#include <core/MedianSampleBuffer.h>
The median of N numerical values by:
The median of a list of N values is found by sorting the input array in increasing order, and taking the middle value. The median of a list of N values has the property that in the list there are as many greater as smaller values than this element.
Where N is 3, 5, 6, 7, 9, or 25
Public Member Functions | |
void | append (T val) |
T | median () |
|
inline |
|
inline |