scipy.linalg.lapack.cheequb#

scipy.linalg.lapack.cheequb(a, lower=0) = <flapack function cheequb>#

Compute scale factors that equilibrate a Hermitian matrix (LAPACK cheequb).

Parameters:
andarray

Hermitian matrix of shape (n, n).

lowerint, optional

If nonzero, the lower triangle of a is referenced; otherwise the upper. Default is 0.

Returns:
sndarray

Scale factors, length n. Real for every flavor.

scondfloat

Ratio of the smallest to the largest scale factor.

amaxfloat

Largest element of a in absolute value.

infoint

0 on success; if negative, the -info-th argument had an illegal value; if positive, the info-th diagonal entry is nonpositive.