|
ProteoWizard
|
#include <math.h>#include <algorithm>#include <vector>#include <functional>#include <numeric>#include <stdexcept>#include <limits>#include <iterator>#include <cmath>#include <boost/utility/enable_if.hpp>#include <boost/type_traits/is_integral.hpp>#include "pwiz/utility/findmf/base/base/utilities/base.hpp"Go to the source code of this file.
Namespaces | |
| ralab | |
| EQUISPACEINTERPOL Interpolation on a equidistantly spaced grid. | |
| ralab::base | |
| ralab::base::base | |
Functions | |
| template<typename TReal > | |
| void | ralab::base::base::seq (TReal from, TReal to, std::vector< TReal > &result) |
| generates the sequence from, from+/-1, ..., to (identical to from:to). More... | |
| template<typename TReal > | |
| void | ralab::base::base::seq (TReal from, TReal to, TReal by, std::vector< TReal > &result) |
| generates sequence: from, from+by, from + 2*by, ..., up to a sequence value less than, or equal than to. More... | |
| template<typename TReal > | |
| void | ralab::base::base::seq_length (TReal from, TReal to, unsigned int length, std::vector< TReal > &result) |
| generates sequence: from, to of length calls seq with $[ by = ( ( to - from ) / ( length - 1. More... | |
| template<typename T1 , typename T2 > | |
| void | ralab::base::base::seq (std::vector< T1 > &ref, std::vector< T2 > &res) |
| generates the sequence 1, 2, ..., length(ref), unless the argument is numeric of length 1 when it is interpreted as 1:from (even for seq(0) for compatibility with S). More... | |
| template<typename TSize , typename TReal > | |
| boost::enable_if < boost::is_integral< TSize > , void >::type | ralab::base::base::seq (TSize length, std::vector< TReal > &res) |
| Generates Sequence 1,2,3,....length . More... | |
| template<typename InputIterator > | |
| std::iterator_traits < InputIterator >::value_type | ralab::base::base::mean (InputIterator begin, InputIterator end) |
| MEAN Trimmed arithmetic mean. More... | |
| template<typename TReal > | |
| TReal | ralab::base::base::mean (const std::vector< TReal > &x) |
| mean More... | |
| template<typename TReal > | |
| TReal | ralab::base::base::mean (const std::vector< TReal > &x, TReal trim) |
| mean More... | |
| template<class Iter_T > | |
| std::iterator_traits< Iter_T > ::value_type | ralab::base::base::geometricMean (Iter_T first, Iter_T last) |
| computes the mean More... | |
| template<typename TReal > | |
| void | ralab::base::base::Range (const std::vector< TReal > &values, std::pair< TReal, TReal > &range) |
| Range of Values range returns a std::pair containing minimum and maximum of all the given values. More... | |
| template<typename T > | |
| double | ralab::base::base::max3 (T a, T b, T c) |
| maximum of 3 numbers More... | |
| template<typename TReal > | |
| TReal | ralab::base::base::log2 (TReal test) |
| log base 2 More... | |
1.8.7