lapack/gonum: add Dgesc2
MODIFY
lapack/gonum/errors.go
lapack/gonum/errors.go
@@ -101,6 +101,7 @@ const (
badLenAlpha = "lapack: bad length of alpha"
badLenBeta = "lapack: bad length of beta"
badLenIpiv = "lapack: bad length of ipiv"
+ badLenJpiv = "lapack: bad length of jpiv"
badLenJpvt = "lapack: bad length of jpvt"
badLenK = "lapack: bad length of k"
badLenSelected = "lapack: bad length of selected"
@@ -126,6 +127,7 @@ const (
shortIWork = "lapack: insufficient length of iwork"
shortIsgn = "lapack: insufficient length of isgn"
shortQ = "lapack: insufficient length of q"
+ shortRHS = "lapack: insufficient length of rhs"
shortS = "lapack: insufficient length of s"
shortScale = "lapack: insufficient length of scale"
shortT = "lapack: insufficient length of t"

MODIFY
lapack/gonum/lapack_test.go
lapack/gonum/lapack_test.go
@@ -92,6 +92,11 @@ func TestDgerq2(t *testing.T) {
testlapack.Dgerq2Test(t, impl)
}
+func TestDgesc2(t *testing.T) {
+ t.Parallel()
+ testlapack.Dgesc2Test(t, impl)
+}
+
func TestDgeqp3(t *testing.T) {
t.Parallel()
testlapack.Dgeqp3Test(t, impl)

lapack/gonum: add Dgesc2 (#1652)