add tests for immutability

This commit is contained in:
Jonathan J Lawlor
2014-12-23 21:03:12 -05:00
parent 10947b5d63
commit 93f33faa81
2 changed files with 20 additions and 3 deletions

View File

@@ -22,7 +22,7 @@ func CovarianceMatrix(cov *mat64.Dense, x mat64.Matrix, wts []float64) *mat64.De
// This is the matrix version of the two-pass algorithm. It doesn't use the
// additional floating point error correction that the Covariance function uses
// to reduce the impact of rounding during centering.
r, c := x.Dims()
// TODO(jonlawlor): indicate that the resulting matrix is symmetric, which