mirror of
https://github.com/gonum/gonum.git
synced 2025-10-20 21:59:25 +08:00
lapack,native,cgo: add HowMany and EigVecSide types, constants, and panic strings
This commit is contained in:
20
lapack.go
20
lapack.go
@@ -136,3 +136,23 @@ const (
|
||||
InitZ Comp = 'I'
|
||||
UpdateZ Comp = 'V'
|
||||
)
|
||||
|
||||
// EigVecSide specifies what eigenvectors will be computed.
|
||||
type EigVecSide byte
|
||||
|
||||
// EigVecSide constants for Dtrevc3.
|
||||
const (
|
||||
RightEigVec EigVecSide = 'R' // Compute right eigenvectors only.
|
||||
LeftEigVec EigVecSide = 'L' // Compute left eigenvectors only.
|
||||
RightLeftEigVec EigVecSide = 'B' // Compute both right and left eigenvectors.
|
||||
)
|
||||
|
||||
// HowMany specifies which eigenvectors will be computed.
|
||||
type HowMany byte
|
||||
|
||||
// HowMany constants for Dhseqr.
|
||||
const (
|
||||
AllEigVec HowMany = 'A' // Compute all right and/or left eigenvectors.
|
||||
AllEigVecMulQ HowMany = 'B' // Compute all right and/or left eigenvectors multiplied by an input matrix.
|
||||
SelectedEigVec HowMany = 'S' // Compute selected right and/or left eigenvectors.
|
||||
)
|
||||
|
Reference in New Issue
Block a user