I am writing a c++ project to row reduce matrices. I was wondering if the following line would work to find the absolute value of the largest number in a row?

e=fabs(a[b][b]);

Thanks