StatUtils Class Reference

#include <RobotAPI/libraries/core/math/StatUtils.h>

Static Public Member Functions

static float GetMedian (const std::vector< float > &sortedData)
 
static float GetPercentile (const std::vector< float > &sortedData, float percentile)
 
static std::vector< floatGetPercentiles (const std::vector< float > &sortedData, int percentiles)
 

Detailed Description

Definition at line 32 of file StatUtils.h.

Member Function Documentation

◆ GetMedian()

static float GetMedian ( const std::vector< float > &  sortedData)
inlinestatic

Definition at line 67 of file StatUtils.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetPercentile()

static float GetPercentile ( const std::vector< float > &  sortedData,
float  percentile 
)
inlinestatic

Definition at line 35 of file StatUtils.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetPercentiles()

static std::vector<float> GetPercentiles ( const std::vector< float > &  sortedData,
int  percentiles 
)
inlinestatic

Definition at line 54 of file StatUtils.h.

+ Here is the call graph for this function:

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