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 gehrd returned, shape (n, n).

taundarray

Reflector scalars from gehrd, length n - 1 – empty when n is 1, which is what gehrd returns 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 is max(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.