Basic Image AlgorithmS Library
2.8.0
|
Provides methods to compute statistical values from vector<double>. More...
#include <MathAlgo/VectorStatistics.hh>
Static Public Member Functions | |
static void | ComputeMean (const std::vector< double > &values, double &mean) |
Convenience method. More... | |
static void | ComputeMedianMinAndMax (const std::vector< double > &values, double &median, double &min, double &max) |
Computes median, min and max of the given values and returns them. More... | |
static void | ComputeStdDev (const std::vector< double > &values, double &stdDev) |
Convenience method. More... | |
static void | ComputeSum (const std::vector< double > &values, double &sum) |
Computes the sum of the values and returns it. More... | |
static void | ComputeSumAndMean (const std::vector< double > &values, double &sum, double &mean) |
Computes the sum and the mean of the values and returns them. More... | |
static void | ComputeSumMeanAndVariance (const std::vector< double > &values, double &sum, double &mean, double &variance) |
Computes the sum, the mean and the variance of the values and returns them. More... | |
static void | ComputeSumMeanVarianceAndStdDev (const std::vector< double > &values, double &sum, double &mean, double &variance, double &stdDev) |
Computes the sum, the mean, the variance and the standard deviation of the values and returns them. More... | |
static void | ComputeVariance (const std::vector< double > &values, double &variance) |
Convenience method. More... | |
Provides methods to compute statistical values from vector<double>.
Definition at line 46 of file VectorStatistics.hh.
|
inlinestatic |
Convenience method.
Computes the mean of the values and returns it.
Definition at line 81 of file VectorStatistics.hh.
References ComputeSumAndMean().
|
inlinestatic |
Computes median, min and max of the given values and returns them.
Definition at line 150 of file VectorStatistics.hh.
|
inlinestatic |
Convenience method.
Computes the standard deviation of the values and returns it.
Definition at line 139 of file VectorStatistics.hh.
References ComputeSumMeanVarianceAndStdDev().
|
inlinestatic |
Computes the sum of the values and returns it.
Definition at line 54 of file VectorStatistics.hh.
Referenced by ComputeSumAndMean().
|
inlinestatic |
Computes the sum and the mean of the values and returns them.
Definition at line 68 of file VectorStatistics.hh.
References ComputeSum().
Referenced by ComputeMean(), and ComputeSumMeanAndVariance().
|
inlinestatic |
Computes the sum, the mean and the variance of the values and returns them.
Definition at line 93 of file VectorStatistics.hh.
References ComputeSumAndMean().
Referenced by ComputeSumMeanVarianceAndStdDev(), and ComputeVariance().
|
inlinestatic |
Computes the sum, the mean, the variance and the standard deviation of the values and returns them.
Definition at line 125 of file VectorStatistics.hh.
References ComputeSumMeanAndVariance().
Referenced by ComputeStdDev().
|
inlinestatic |
Convenience method.
Computes the variance of the values and returns it.
Definition at line 113 of file VectorStatistics.hh.
References ComputeSumMeanAndVariance().