all: update packages from mat64 to mat.

This mostly changes package name and code, but also fixes a couple of name clashes with the new package names
This commit is contained in:
Brendan Tracey
2017-06-13 10:28:21 -06:00
parent 3fa9374bd4
commit 0d639745f1
43 changed files with 607 additions and 610 deletions

View File

@@ -10,7 +10,7 @@ import (
"testing"
"gonum.org/v1/gonum/floats"
"gonum.org/v1/gonum/matrix/mat64"
"gonum.org/v1/gonum/mat"
"gonum.org/v1/gonum/optimize/functions"
)
@@ -1237,7 +1237,7 @@ func testLocal(t *testing.T, tests []unconstrainedTest, method Method) {
test.p.Grad(settings.InitialGradient, test.x)
}
if method.Needs().Hessian {
settings.InitialHessian = mat64.NewSymDense(len(test.x), nil)
settings.InitialHessian = mat.NewSymDense(len(test.x), nil)
test.p.Hess(settings.InitialHessian, test.x)
}