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

bundles / scipy latest / scipy / linalg / _flapack / zgesvd_lwork

lapack_function

scipy.linalg._flapack:zgesvd_lwork

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

Signature

def zgesvd_lwork(m, n, compute_uv = 1, full_matrices = 1)

Summary

Query the optimal lwork for zgesvd.

Parameters

m : int

Number of rows of the matrix.

n : int

Number of columns of the matrix.

compute_uv : int, optional

If nonzero, singular vectors are computed. Default is 1.

full_matrices : int, optional

If nonzero, full-sized u and vt are computed. Default is 1.

Returns

work : complex

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

info : int

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

Aliases

  • scipy.linalg._flapack.zgesvd_lwork