Module balancing

Source
Expand description

Functions for balancing a matrix.

Functionsยง

balance_parlett_reinsch
Applies in-place a modified Parlett and Reinsch matrix balancing with 2-norm to the matrix and returns the corresponding diagonal transformation.
unbalance
Computes in-place D * m * D.inverse(), where D is the matrix with diagonal d.