Changeset 252


Ignore:
Timestamp:
Mar 3, 2005, 12:05:49 PM (17 years ago)
Author:
Peter
Message:

corrected calculation of ccc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/AveragerPair.h

    r244 r252  
    5252    inline double ccc(void) const
    5353      { return ( (x_.variance() || y_.variance() || x_.mean()-y_.mean() ) ?
    54                  ((covariance()) /
     54                 ((2*covariance()) /
    5555                  ((x_.variance()+y_.variance()) +
    5656                   (x_.mean()-y_.mean())*(x_.mean()-y_.mean()))) : 0); }
Note: See TracChangeset for help on using the changeset viewer.