scipy.linalg.lapack.cgels_lwork#
- scipy.linalg.lapack.cgels_lwork(m, n, nrhs, trans='N') = <flapack function cgels_lwork>#
Query the optimal lwork for
cgels.- Parameters:
- mint
Number of rows of the matrix.
- nint
Number of columns of the matrix.
- nrhsint
Number of right-hand sides.
- transstr, optional
'N'for the system as given,'C'for its conjugate transpose. Default is'N'.
- 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.