OpenMS
StatsHelpers.h File Reference
#include <OpenMS/OPENSWATHALGO/OpenSwathAlgoConfig.h>
#include <algorithm>
#include <cmath>
#include <complex>
#include <numeric>
#include <vector>
#include <cstddef>
Include dependency graph for StatsHelpers.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  mean_and_stddev
 functor to compute the mean and stddev of sequence using the std::foreach algorithm More...
 

Namespaces

 OpenSwath
 

Functions

OPENSWATHALGO_DLLAPI void normalize (const std::vector< double > &intensities, double normalization_factor, std::vector< double > &normalized_intensities)
 Normalize intensities in vector by normalization_factor. More...
 
template<typename T >
double norm (T beg, T end)
 compute the Euclidean norm of the vector More...
 
template<typename Texp , typename Ttheo >
double dotProd (Texp intExpBeg, Texp intExpEnd, Ttheo intTheo)
 compute dotprod of vectors More...
 
OPENSWATHALGO_DLLAPI double dotprodScoring (std::vector< double > intExp, std::vector< double > theorint)
 the dot product scoring More...
 
template<typename Texp , typename Ttheo >
double manhattanDist (Texp itExpBeg, Texp itExpEnd, Ttheo itTheo)
 compute manhattan distance between Exp and Theo More...
 
OPENSWATHALGO_DLLAPI double manhattanScoring (std::vector< double > intExp, std::vector< double > theorint)
 manhattan scoring More...
 
template<typename TInputIterator , typename TInputIteratorY >
std::iterator_traits< TInputIterator >::value_type cor_pearson (TInputIterator xBeg, TInputIterator xEnd, TInputIteratorY yBeg)
 compute pearson correlation of vector x and y More...