This is a pre-release version (2.0.0.dev0+git20260907.41eeb59).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / linalg / _flapack / sorghr

lapack_function

scipy.linalg._flapack:sorghr

source: build-install/usr/lib/python3.14/site-packages/scipy/linalg/_flapack.cpython-314-x86_64-linux-gnu.so

Summary

Generate the orthogonal/unitary matrix of a Hessenberg reduction (LAPACK sorghr).

Parameters

a : ndarray

The reduced matrix gehrd returned, shape (n, n).

tau : ndarray

Reflector scalars from gehrd, length n - 1 -- empty when n is 1, which is what gehrd returns there.

lo : int, optional

Index of the first row/column to reduce, 0-based. Default is 0.

hi : int, optional

Index of the last row/column to reduce, 0-based. Default is n - 1.

lwork : int, optional

Workspace size, at least hi - lo. Default is max(hi - lo, 1).

overwrite_a : int, optional

If nonzero, a may be overwritten in place. Default is 0.

Returns

ht : ndarray

The orthogonal/unitary factor Q.

info : int

0 on success; if negative, the -info-th argument had an illegal value.

Aliases

  • scipy.linalg._flapack.sorghr