scipy.linalg.lapack.sorghr_lwork#

scipy.linalg.lapack.sorghr_lwork(n, lo=0, hi=n - 1) = <flapack function sorghr_lwork>#

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

Parameters:
nint

Order of the square matrix.

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.

Returns:
workfloat

Optimal lwork.

infoint

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