mirror of
https://github.com/gonum/gonum.git
synced 2025-10-20 21:59:25 +08:00
lapack: rename JobRightEV to RightEVJob, JobLeftEV to LeftEVJob
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user