Expand description

Functions for balancing a matrix.

Functions

Applies in-place a modified Parlett and Reinsch matrix balancing with 2-norm to the matrix m and returns the corresponding diagonal transformation.

Computes in-place D * m * D.inverse(), where D is the matrix with diagonal d.