mirror of
https://github.com/gonum/gonum.git
synced 2025-10-05 07:06:54 +08:00
lapack/gonum,testlapack: fix bug in Dtrevc3 and rework its test
This commit is contained in:

committed by
Vladimír Chalupecký

parent
133b3496e8
commit
aafb56522f
@@ -783,9 +783,9 @@ func residualRightEV(a, e blas64.General, wr, wi []float64) float64 {
|
||||
return math.Min(errnorm/anorm, 1)
|
||||
}
|
||||
|
||||
// residualRightEV returns the residual
|
||||
// residualLeftEV returns the residual
|
||||
// | Aᵀ E - E Wᵀ|_1 / ( |Aᵀ|_1 |E|_1 )
|
||||
// where the columns of E contain the right eigenvectors of A and W is a block diagonal matrix with
|
||||
// where the columns of E contain the left eigenvectors of A and W is a block diagonal matrix with
|
||||
// a 1×1 block for each real eigenvalue and a 2×2 block for each complex conjugate pair.
|
||||
func residualLeftEV(a, e blas64.General, wr, wi []float64) float64 {
|
||||
// The implementation follows DGET22 routine from the Reference LAPACK's
|
||||
|
Reference in New Issue
Block a user