Changeset 510 for trunk/lib/statistics/AveragerPair.h
- Timestamp:
- Feb 18, 2006, 3:21:49 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/statistics/AveragerPair.h
r496 r510 56 56 /// (x_i-m_x)^2+\sum_i (y_i-m_y)^2 + n(m_x-m_y)^2}\f$ 57 57 /// 58 /// In case of a zero denominator - zero is returned. 59 /// 58 60 /// @return Concordence correlation coefficient. 59 61 /// 60 62 inline double ccc(void) const 61 { return ( (x_.variance() || y_.variance() ||x_.mean()-y_.mean() ) ?63 { return ( (x_.variance() && y_.variance() && x_.mean()-y_.mean() ) ? 62 64 ((2*covariance()) / 63 65 ((x_.variance()+y_.variance()) +
Note: See TracChangeset
for help on using the changeset viewer.