bundles / scipy latest / scipy / linalg / _flapack / zgelsy_lwork
lapack_function
scipy.linalg._flapack:zgelsy_lwork
source: build-install/usr/lib/python3.14/site-packages/scipy/linalg/_flapack.cpython-314-x86_64-linux-gnu.so
Signature
def zgelsy_lwork(m, n, nrhs, cond, lwork = -1)Summary
Query the optimal lwork for zgelsy.
Parameters
m: intNumber of rows of the matrix.
n: intNumber of columns of the matrix.
nrhs: intNumber of right-hand sides.
cond: float, optionalSingular values below
condtimes the largest are treated as zero. Default is -1.0, which uses machine precision.lwork: int, optionalPassed through to LAPACK; -1 requests the query. Default is -1.
Returns
work: complexOptimal 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.zgelsy_lwork