scipy.linalg.lapack.zgelsy_lwork#

scipy.linalg.lapack.zgelsy_lwork(m, n, nrhs, cond, lwork=-1) = <flapack function zgelsy_lwork>#

Query the optimal lwork for zgelsy.

Parameters:
mint

Number of rows of the matrix.

nint

Number of columns of the matrix.

nrhsint

Number of right-hand sides.

condfloat, optional

Singular values below cond times the largest are treated as zero. Default is -1.0, which uses machine precision.

lworkint, optional

Passed through to LAPACK; -1 requests the query. Default is -1.

Returns:
workcomplex

Optimal size of the work array, as a scalar of the routine’s dtype.

infoint

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