covariance-matrix.c (covariance_accumulator_to_matrix): Use sum_i and
authorJason Stover <jhs@math.gcsu.edu>
Sun, 29 Mar 2009 15:04:31 +0000 (11:04 -0400)
committerJason Stover <jhs@math.gcsu.edu>
Sun, 29 Mar 2009 15:04:31 +0000 (11:04 -0400)
commit5282b76bcbd0501c1227b36e4d451f340388eca5
tree49f7d75e52c77756b1dfe27db87e22677f6a15e2
parent032ac72de5fd6041c0568263d8d376a2a2bed6fd
covariance-matrix.c (covariance_accumulator_to_matrix): Use sum_i and
sum_j to compute products of means. Store the sums of variables in
cov->sums, rather than storing the means.
src/math/covariance-matrix.c