mirror of
https://github.com/gonum/gonum.git
synced 2025-10-24 15:43:07 +08:00
add tests for immutability
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user