bundles / scipy latest / scipy / linalg / _flapack / sgehrd_lwork
lapack_function
scipy.linalg._flapack:sgehrd_lwork
source: build-install/usr/lib/python3.14/site-packages/scipy/linalg/_flapack.cpython-314-x86_64-linux-gnu.so
Summary
Query the optimal lwork for sgehrd.
Parameters
n: intOrder of the square matrix.
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.
Returns
work: floatOptimal size of the work array, as a scalar of the routine's dtype.
info: int0 on success; if negative, the
-info-th argument had an illegal value.
Aliases
scipy.linalg._flapack.sgehrd_lwork