lapack: rename EVRightLeft to EVBoth
MODIFY
lapack/gonum/dgeev.go
lapack/gonum/dgeev.go
@@ -181,7 +181,7 @@ func (impl Implementation) Dgeev(jobvl lapack.LeftEVJob, jobvr lapack.RightEVJob
if wantvr {
// Want left and right eigenvectors.
// Copy Schur vectors to VR.
- side = lapack.EVRightLeft
+ side = lapack.EVBoth
impl.Dlacpy(blas.All, n, n, vl, ldvl, vr, ldvr)
}
} else if wantvr {

MODIFY
lapack/lapack.go
lapack/lapack.go
@@ -199,7 +199,7 @@ type EVSide byte
const (
EVRight EVSide = 'R' // Only right eigenvectors are computed.
EVLeft EVSide = 'L' // Only left eigenvectors are computed.
- EVRightLeft EVSide = 'B' // Both right and left eigenvectors are computed.
+ EVBoth EVSide = 'B' // Both right and left eigenvectors are computed.
)
// EVHowMany specifies which eigenvectors are computed in Dtrevc3 and how.

MODIFY
lapack/testlapack/dtrevc3.go
lapack/testlapack/dtrevc3.go
@@ -22,7 +22,7 @@ type Dtrevc3er interface {
func Dtrevc3Test(t *testing.T, impl Dtrevc3er) {
rnd := rand.New(rand.NewSource(1))
- for _, side := range []lapack.EVSide{lapack.EVRight, lapack.EVLeft, lapack.EVRightLeft} {
+ for _, side := range []lapack.EVSide{lapack.EVRight, lapack.EVLeft, lapack.EVBoth} {
for _, howmny := range []lapack.EVHowMany{lapack.EVAll, lapack.EVAllMulQ, lapack.EVSelected} {
for _, n := range []int{0, 1, 2, 3, 4, 5, 10, 34, 100} {
for _, extra := range []int{0, 11} {

lapack: rename EVRightLeft to EVBoth