where si are positive scale factors. Using a diagonal matrix
S, the relation between
U and

is

, and you can write the rescaled linear system as
Here, R is a diagonal matrix of positive scale factors chosen such that the rows in the matrix

are of magnitude
1.