This is a pre-release version (2.0.0.dev0+git20260907.41eeb59).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / linalg / _flapack / zgelsd_lwork

lapack_function

scipy.linalg._flapack:zgelsd_lwork

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

Signature

def zgelsd_lwork(m, n, nrhs, cond = -1.0, lwork = -1)

Summary

Query the optimal lwork for zgelsd.

Parameters

m : int

Number of rows of the matrix.

n : int

Number of columns of the matrix.

nrhs : int

Number of right-hand sides.

cond : float, optional

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

lwork : int, optional

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

Returns

work : complex

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

rwork : float

Optimal size of the real workspace, to pass as size_rwork. The real flavors have no such output, so they return one value fewer.

iwork : int

Optimal size of the integer workspace, to pass as size_iwork.

info : int

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

Aliases

  • scipy.linalg._flapack.zgelsd_lwork