bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / linalg / _flapack / dgehrd
lapack_function
scipy.linalg._flapack:dgehrd
source: build-install/usr/lib/python3.14/site-packages/scipy/linalg/_flapack.cpython-314-x86_64-linux-gnu.so
Summary
Reduce a matrix to upper Hessenberg form (LAPACK dgehrd).
Parameters
a: ndarraySquare matrix of shape
(n, n).lo: int, optionalIndex of the first row/column to reduce, 0-based. Default is 0.
hi: int, optionalIndex of the last row/column to reduce, 0-based. Default is
n - 1.lwork: int, optionalSize of the workspace. Default is
max(n, 1). Usegehrd_lworkfor the optimal value.overwrite_a: int, optionalIf nonzero, a may be overwritten in place. Default is 0.
Returns
ht: ndarrayUpper Hessenberg form in the upper triangle and first subdiagonal; below that, the elementary reflectors that define
Q.tau: ndarrayScalar factors of the elementary reflectors that define
Q.info: int0 on success; if negative, the
-info-th argument had an illegal value.
Aliases
scipy.linalg._flapack.dgehrd