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

bundles / scipy latest / scipy / linalg / _flapack / dgesc2

lapack_function

scipy.linalg._flapack:dgesc2

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

Signature

def dgesc2(lu, rhs, ipiv, jpiv, overwrite_rhs = 0)

Summary

Solve a system factorized by getc2, scaling to avoid overflow (LAPACK dgesc2).

Parameters

lu : ndarray

Combined L and U factors, as returned by getrf.

rhs : ndarray

Right-hand side vector of length n.

ipiv : ndarray

Row pivot indices from getc2, 0-based.

jpiv : ndarray

Column pivot indices from getc2, 0-based.

overwrite_rhs : int, optional

If nonzero, rhs may be overwritten in place. Default is 0.

Returns

x : ndarray

Solution, scaled by scale to avoid overflow.

scale : float

Scale factor applied to the right-hand side, 0 <= scale <= 1.

Aliases

  • scipy.linalg._flapack.dgesc2