lapack: rename JobRightEV to RightEVJob, JobLeftEV to LeftEVJob

This commit is contained in:
Vladimir Chalupecky
2016-10-06 15:01:14 +09:00
parent f4dbaaea62
commit 78b6c8cef8
5 changed files with 26 additions and 30 deletions

View File

@@ -59,11 +59,11 @@ import (
// Dgeev failed to compute all the eigenvalues, no eigenvectors have been
// computed and wr[first:] and wi[first:] contain those eigenvalues which have
// converged.
func (impl Implementation) Dgeev(jobvl lapack.JobLeftEV, jobvr lapack.JobRightEV, n int, a []float64, lda int, wr, wi []float64, vl []float64, ldvl int, vr []float64, ldvr int, work []float64, lwork int) (first int) {
func (impl Implementation) Dgeev(jobvl lapack.LeftEVJob, jobvr lapack.RightEVJob, n int, a []float64, lda int, wr, wi []float64, vl []float64, ldvl int, vr []float64, ldvr int, work []float64, lwork int) (first int) {
var wantvl bool
switch jobvl {
default:
panic("lapack: invalid JobLeftEV")
panic("lapack: invalid LeftEVJob")
case lapack.ComputeLeftEV:
wantvl = true
case lapack.None:
@@ -71,7 +71,7 @@ func (impl Implementation) Dgeev(jobvl lapack.JobLeftEV, jobvr lapack.JobRightEV
var wantvr bool
switch jobvr {
default:
panic("lapack: invalid JobRightEV")
panic("lapack: invalid RightEVJob")
case lapack.ComputeRightEV:
wantvr = true
case lapack.None: