This is a pre-release version (latest).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy latest / scipy / linalg / _flapack / zunghr_lwork

lapack_function

scipy.linalg._flapack:zunghr_lwork

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

Summary

Query the optimal workspace for zunghr (LAPACK zunghr with lwork = -1).

Parameters

n : int

Order of the square matrix.

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.

Returns

work : complex

Optimal lwork.

info : int

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

Aliases

  • scipy.linalg._flapack.zunghr_lwork