#include <numeric>#include <algorithm>#include <OpenMS/CONCEPT/Types.h>#include <boost/lambda/lambda.hpp>#include <boost/lambda/casts.hpp>#include <boost/function/function_base.hpp>Go to the source code of this file.
Namespaces | |
| namespace | OpenMS |
Main OpenMS namespace. | |
| namespace | OpenMS::Math |
Math namespace. | |
Functions | |
| template<typename IteratorType > | |
| static DoubleReal | sum (IteratorType begin, IteratorType end) |
| Calculates the sum of a range of values. | |
| template<typename IteratorType > | |
| static DoubleReal | mean (IteratorType begin, IteratorType end) |
| Calculates the mean of a range of values. | |
| template<typename IteratorType > | |
| static DoubleReal | median (IteratorType begin, IteratorType end, bool sorted=FALSE) |
| Calculates the median of a range of values. | |
| template<typename IteratorType > | |
| static DoubleReal | quantile (IteratorType begin, IteratorType end, UInt quantile, bool sorted=FALSE) |
| Calculates the quantile of a range of values. | |
| template<typename IteratorType1 , typename IteratorType2 > | |
| static DoubleReal | meanSquareError (IteratorType1 begin_a, IteratorType1 end_a, IteratorType2 begin_b, IteratorType2 end_b) |
| Calculates the mean square error for the values in [begin_a, end_a) and [begin_b, end_b). | |
| template<typename IteratorType1 , typename IteratorType2 > | |
| static DoubleReal | classificationRate (IteratorType1 begin_a, IteratorType1 end_a, IteratorType2 begin_b, IteratorType2 end_b) |
| Calculates the classification rate for the values in [begin_a, end_a) and [begin_b, end_b). | |
| template<typename IteratorType1 , typename IteratorType2 > | |
| static DoubleReal | matthewsCorrelationCoefficient (IteratorType1 begin_a, IteratorType1 end_a, IteratorType2 begin_b, IteratorType2 end_b) |
| Calculates the Matthews correlation coefficient for the values in [begin_a, end_a) and [begin_b, end_b). | |
| template<typename IteratorType1 , typename IteratorType2 > | |
| static DoubleReal | pearsonCorrelationCoefficient (IteratorType1 begin_a, IteratorType1 end_a, IteratorType2 begin_b, IteratorType2 end_b) |
| Calculates the Pearson correlation coefficient for the values in [begin_a, end_a) and [begin_b, end_b). | |
| template<typename Value > | |
| static void | computeRank (std::vector< Value > &w) |
Replaces the elements in vector w by their ranks. | |
| template<typename IteratorType1 , typename IteratorType2 > | |
| static DoubleReal | rankCorrelationCoefficient (IteratorType1 begin_a, IteratorType1 end_a, IteratorType2 begin_b, IteratorType2 end_b) |
| calculates the rank correlation coefficient for the values in [begin_a, end_a) and [begin_b, end_b) | |
| OpenMS / TOPP release 1.10.0 | Documentation generated on Thu Mar 7 2013 09:42:47 using doxygen 1.7.1 |