bundles / scipy latest / scipy / linalg / _flapack / dlasd4
lapack_function
scipy.linalg._flapack:dlasd4
source: build-install/usr/lib/python3.14/site-packages/scipy/linalg/_flapack.cpython-314-x86_64-linux-gnu.so
Signature
def dlasd4(i, d, z, rho = 1.0)Summary
Compute one root of the secular equation of a rank-one modified diagonal matrix (LAPACK dlasd4).
Extended Summary
Used by the divide-and-conquer SVD update. LAPACK ships no complex counterpart, so only the real flavors exist.
Parameters
i: intWhich root to compute, 0-based.
d: ndarrayThe diagonal, in increasing order.
z: ndarrayThe rank-one update vector, the same length as
d.rho: float, optionalScalar the update is scaled by. Default is 1.0.
Returns
delta: ndarrayThe differences
d[j] - sigma.sigma: floatThe computed root.
work: ndarrayThe sums
d[j] + sigma.info: int0 on success; 1 if the iteration failed to converge.
Aliases
scipy.linalg._flapack.dlasd4