scipy.linalg.lapack.sorghr#
- scipy.linalg.lapack.sorghr(a, tau, lo=0, hi=n - 1, lwork=max(hi - lo, 1), overwrite_a=0) = <flapack function sorghr>#
Generate the orthogonal/unitary matrix of a Hessenberg reduction (LAPACK
sorghr).- Parameters:
- andarray
The reduced matrix
gehrdreturned, shape(n, n).- taundarray
Reflector scalars from
gehrd, lengthn - 1– empty whennis 1, which is whatgehrdreturns there.- loint, optional
Index of the first row/column to reduce, 0-based. Default is 0.
- hiint, optional
Index of the last row/column to reduce, 0-based. Default is
n - 1.- lworkint, optional
Workspace size, at least
hi - lo. Default ismax(hi - lo, 1).- overwrite_aint, optional
If nonzero, a may be overwritten in place. Default is 0.
- Returns:
- htndarray
The orthogonal/unitary factor
Q.- infoint
0 on success; if negative, the
-info-th argument had an illegal value.