lapack: rename DecompUpdate and add GenOrtho types and consts

This commit is contained in:
Vladimir Chalupecky
2018-08-23 11:16:14 +02:00
committed by Vladimír Chalupecký
parent 72366fbe54
commit 6d5ac7aa26
8 changed files with 125 additions and 110 deletions

View File

@@ -90,11 +90,20 @@ const (
Bottom Pivot = 'B'
)
type DecompUpdate byte
// ApplyOrtho specifies which orthogonal matrix is applied in Dormbr.
type ApplyOrtho byte
const (
ApplyP DecompUpdate = 'P'
ApplyQ DecompUpdate = 'Q'
ApplyP ApplyOrtho = 'P' // Apply P or P^T.
ApplyQ ApplyOrtho = 'Q' // Apply Q or Q^T.
)
// GenOrtho specifies which orthogonal matrix is generated in Dorgbr.
type GenOrtho byte
const (
GeneratePT GenOrtho = 'P' // Generate P^T.
GenerateQ GenOrtho = 'Q' // Generate Q.
)
// SVDJob specifies the singular vector computation type for SVD.