Make use of gonum/blas/blas64

This commit is contained in:
kortschak
2015-01-09 10:45:17 +10:30
parent b3e1970d94
commit 8bf878d458

View File

@@ -9,17 +9,11 @@ import (
"math/rand"
"testing"
"github.com/gonum/blas/goblas"
"github.com/gonum/floats"
"github.com/gonum/matrix/mat64"
)
func init() {
mat64.Register(goblas.Blas{})
}
func TestCovarianceMatrix(t *testing.T) {
// An alternate way to test this is to call the Variance
// and Covariance functions and ensure that the results are identical.
for i, test := range []struct {