Add a two pass algorithm to calculate covariance matrices. fc11-i386-build23 lenny-x64-build44 sid-i386-build91
authorJohn Darrington <john@darrington.wattle.id.au>
Sat, 17 Oct 2009 09:12:56 +0000 (11:12 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Sat, 17 Oct 2009 09:12:56 +0000 (11:12 +0200)
The single pass algorithm, although faster, is numerically unstable.
Furthermore, at can't reasonably be achieved when categorical variables
are involved.    This change implements a two pass algorithm and allows
the caller to choose which algorithm (s)he prefers.


No differences found