scipy.linalg.lapack.sgels_lwork#

scipy.linalg.lapack.sgels_lwork(m, n, nrhs, trans='N') = <flapack function sgels_lwork>#

Query the optimal lwork for sgels.

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, 'T' for its transpose. Default is 'N'.

Returns:
workfloat

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.