|
ProteoWizard
|
Classes | |
| struct | NthPower |
Functions | |
| template<typename InputIterator > | |
| std::iterator_traits< InputIterator >::value_type | rootMeanSquare (const InputIterator begin, const InputIterator end) |
| The root-mean-square for a column is obtained by computing the square-root of the sum-of-squares of the non-missing values in the column divided by the number of non-missing values minus one. More... | |
| template<typename InputIterator > | |
| void | scale (InputIterator begin, InputIterator end, std::pair< typename std::iterator_traits< InputIterator >::value_type, typename std::iterator_traits< InputIterator >::value_type > &scaled, bool center=true, bool scale=true) |
| scale centers and/or scales all values from begin in to end. More... | |
| std::iterator_traits<InputIterator>::value_type ralab::base::stats::rootMeanSquare | ( | const InputIterator | begin, |
| const InputIterator | end | ||
| ) |
The root-mean-square for a column is obtained by computing the square-root of the sum-of-squares of the non-missing values in the column divided by the number of non-missing values minus one.
| [in] | begin | start iterator |
| [in] | end | end iterator |
Definition at line 58 of file scale.hpp.
References x.
Referenced by scale().
| void ralab::base::stats::scale | ( | InputIterator | begin, |
| InputIterator | end, | ||
| std::pair< typename std::iterator_traits< InputIterator >::value_type, typename std::iterator_traits< InputIterator >::value_type > & | scaled, | ||
| bool | center = true, |
||
| bool | scale = true |
||
| ) |
scale centers and/or scales all values from begin in to end.
| [out] | scaled | scaled.first = center, scaled.second = scale |
| [in] | center | either a logical value or a numeric vector of length equal to the number of columns of x. |
| [in] | scale | either a logical value or a numeric vector of length equal to the number of columns of x. |
Definition at line 77 of file scale.hpp.
References ralab::base::base::mean(), and rootMeanSquare().
Referenced by pwiz::util::almost_equal(), pwiz::frequency::TruncatedLorentzian::parameterCount(), and testParameterConversion().
1.8.13