bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / linalg / _flapack / cgesc2
lapack_function
scipy.linalg._flapack:cgesc2
source: build-install/usr/lib/python3.14/site-packages/scipy/linalg/_flapack.cpython-314-x86_64-linux-gnu.so
Signature
def cgesc2(lu, rhs, ipiv, jpiv, overwrite_rhs = 0)Summary
Solve a system factorized by getc2, scaling to avoid overflow (LAPACK cgesc2).
Parameters
lu: ndarrayCombined
LandUfactors, as returned bygetrf.rhs: ndarrayRight-hand side vector of length
n.ipiv: ndarrayRow pivot indices from
getc2, 0-based.jpiv: ndarrayColumn pivot indices from
getc2, 0-based.overwrite_rhs: int, optionalIf nonzero,
rhsmay be overwritten in place. Default is 0.
Returns
x: ndarraySolution, scaled by scale to avoid overflow.
scale: floatScale factor applied to the right-hand side,
0 <= scale <= 1.
Aliases
scipy.linalg._flapack.cgesc2