What are you actualy trying to achieve?
Is it "just" putting the highest value on the diagonal or the first step in a LU decomposition?
If the latter other things are important too, especially if you are interested in sparse-matrices.
I know something about sparse matrices (related to Equation...