111 MeanX = MeanY = (
REAL)0.0;
112 for(i=0; i<NItem; i++)
121 SumXSq = SumYSq = SumXY = (
REAL)0.0;
122 for(i=0; i<NItem; i++)
131 r = SumXY / (
REAL)sqrt((
double)(SumXSq * SumYSq));
REAL blPearson(REAL *x, REAL *y, int NItem)
Type definitions for maths.