lapack/gonum: add Dgghrd and its test

This commit is contained in:
Patricio Whittingslow
2023-09-07 08:24:34 -03:00
committed by GitHub
parent 7bed099d44
commit f0a57a452a
7 changed files with 296 additions and 2 deletions

View File

@@ -226,3 +226,12 @@ const (
LocalLookAhead MaximizeNormXJob = 0 // Solve Z*x=h-f where h is a vector of ±1.
NormalizedNullVector MaximizeNormXJob = 2 // Compute an approximate null-vector e of Z, normalize e and solve Z*x=±e-f.
)
// OrthoComp specifies whether and how the orthogonal matrix is computed in Dgghrd.
type OrthoComp byte
const (
OrthoNone OrthoComp = 'N' // Do not compute orthogonal matrix.
OrthoUnit OrthoComp = 'I' // Argument is initialized to the unit matrix and the orthogonal matrix is returned.
OrthoEntry OrthoComp = 'V' // Argument Q contains orthogonal matrix Q1 on entry and the product Q1*Q is returned.
)