Internal class for asymmetric distributions. More...
#include <OpenMS/MATH/STATISTICS/AsymmetricStatistics.h>
Public Member Functions | |
| AsymmetricStatistics () | |
| Default constructor. | |
| RealType | variance1 () const |
| "variance to the left hand side" | |
| RealType | variance2 () const |
| "variance to the right hand side" | |
| template<typename ProbabilityIterator , typename CoordinateIterator > | |
| void | update (ProbabilityIterator const probability_begin, ProbabilityIterator const probability_end, CoordinateIterator const coordinate_begin) |
| You can call this as often as you like, using different input vectors. | |
Protected Attributes | |
Protected Members | |
| RealType | variance1_ |
| RealType | variance2_ |
Private Types | |
| typedef BasicStatistics< Real > | Base |
| The real type and basic statistics specified as template argument. | |
| typedef Base::RealType | RealType |
| The real type specified as template argument. | |
Internal class for asymmetric distributions.
Internal class for asymmetric distributions used for consistency with BasisStatistic class
typedef BasicStatistics<Real> Base [private] |
The real type and basic statistics specified as template argument.
typedef Base::RealType RealType [private] |
The real type specified as template argument.
Reimplemented from BasicStatistics< Real >.
| AsymmetricStatistics | ( | ) | [inline] |
Default constructor.
| void update | ( | ProbabilityIterator const | probability_begin, | |
| ProbabilityIterator const | probability_end, | |||
| CoordinateIterator const | coordinate_begin | |||
| ) | [inline] |
You can call this as often as you like, using different input vectors.
Reimplemented from BasicStatistics< Real >.
References BasicStatistics< Real >::mean_, BasicStatistics< Real >::update(), AsymmetricStatistics< Real >::variance1_, AsymmetricStatistics< Real >::variance2_, and BasicStatistics< Real >::variance_.
Referenced by ModelFitter< PeakType, FeatureType >::fit().
| RealType variance1 | ( | ) | const [inline] |
"variance to the left hand side"
References AsymmetricStatistics< Real >::variance1_.
Referenced by ModelFitter< PeakType, FeatureType >::fitRT_().
| RealType variance2 | ( | ) | const [inline] |
"variance to the right hand side"
References AsymmetricStatistics< Real >::variance2_.
Referenced by ModelFitter< PeakType, FeatureType >::fitRT_().
RealType variance1_ [protected] |
Referenced by AsymmetricStatistics< Real >::update(), and AsymmetricStatistics< Real >::variance1().
RealType variance2_ [protected] |
Referenced by AsymmetricStatistics< Real >::update(), and AsymmetricStatistics< Real >::variance2().
| OpenMS / TOPP release 1.10.0 | Documentation generated on Thu Mar 7 2013 09:43:00 using doxygen 1.7.1 |