Changeset 138


Ignore:
Timestamp:
Aug 20, 2004, 12:30:37 PM (17 years ago)
Author:
Peter
Message:

AveragerPair? added

Location:
trunk/src
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/Averager.h

    r137 r138  
    8181
    8282    ///
    83     /// @return standard deviation
     83    /// The standard deviation is defined as the square root of the
     84    /// variance. @return standard deviation
    8485    ///
    8586    inline double standard_deviation(void) const {  return sqrt(variance()); }
     87
     88    ///
     89    /// The standard deviation is defined as the square root of the
     90    /// variance. @return standard deviation
     91    ///
     92    inline double std(void) const {  return sqrt(variance()); }
    8693
    8794    ///
     
    101108
    102109    ///
    103     ///The variance is calculated using the (n-1) correction, so the
    104     ///expectation value is unbiased @return variance
     110    ///The variance is calculated using the (n-1) correction, which
     111    ///means it is the best unbiased estimator of the variance \f$
     112    ///\frac{1}{N-1}\sum_i (x_i-m)^2\f$, where \f$m\f$ is the
     113    ///mean@return variance
    105114    ///
    106115    inline double variance(void) const
  • trunk/src/Makefile.am

    r115 r138  
    66
    77libc___tools_a_SOURCES =            \
    8   Averager.cc ConsensusInputRanker.cc CrossValidation.cc FileIO.cc GaussianKernelFunction.cc histogram.cc \
     8  Averager.cc AveragerPair.cc ConsensusInputRanker.cc CrossValidation.cc FileIO.cc GaussianKernelFunction.cc histogram.cc \
    99  InputRanker.cc Kernel.cc matrix.cc Merge.cc PCA.cc    \
    1010  PolynomialKernelFunction.cc random_singleton.cc ROC.cc    \
Note: See TracChangeset for help on using the changeset viewer.