Home  · Classes  · Annotated Classes  · Modules  · Members  · Namespaces  · Related Pages
Classes | Namespaces | Functions

StatsHelpers.h File Reference

#include <cmath>
#include <vector>
#include <numeric>
#include <boost/bind.hpp>
#include <complex>
#include <algorithm>
#include <OpenMS/ANALYSIS/OPENSWATH/OPENSWATHALGO/OpenSwathAlgoConfig.h>
#include "OpenMS/ANALYSIS/OPENSWATH/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h"

Go to the source code of this file.

Classes

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

Namespaces

namespace  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.
template<typename T >
double norm (T beg, T end)
 compute the norm of the vector
template<typename Texp , typename Ttheo >
double dotProd (Texp intExpBeg, Texp intExpEnd, Ttheo intTheo)
 compute dotprod of vecotrs
OPENSWATHALGO_DLLAPI double dotprodScoring (std::vector< double > intExp, std::vector< double > theorint)
 the dot product scoring
template<typename Texp , typename Ttheo >
double manhattanDist (Texp itExpBeg, Texp itExpEnd, Ttheo itTheo)
 compute manhattan distance between Exp and Theo
OPENSWATHALGO_DLLAPI double manhattanScoring (std::vector< double > intExp, std::vector< double > theorint)
 manhattan scoring
template<typename TInputIterator , typename TInputIteratorY >
std::iterator_traits
< TInputIterator >::value_type 
cor_pearson (TInputIterator xBeg, TInputIterator xEnd, TInputIteratorY yBeg)
 compute prearson correlation of vector x and y

OpenMS / TOPP release 1.10.0 Documentation generated on Thu Mar 7 2013 09:42:47 using doxygen 1.7.1