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

bundles / scipy latest / scipy / linalg / _flapack / dgels_lwork

lapack_function

scipy.linalg._flapack:dgels_lwork

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

Signature

def dgels_lwork(m, n, nrhs, trans = N)

Summary

Query the optimal lwork for dgels.

Parameters

m : int

Number of rows of the matrix.

n : int

Number of columns of the matrix.

nrhs : int

Number of right-hand sides.

trans : str, optional

'N' for the system as given, 'T' for its transpose. Default is 'N'.

Returns

work : float

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.dgels_lwork