Programming Assignment: Gaussian Elimination - Confused on pivot value

While solving the Programming Assignment of Gaussian Elimination I am confused on what to set for the value of pivot when iterating over a row having all 0’s. Can someone explain what to do in this scenario.

A row of all-zeros has no pivot.

This indicates the linear system matrix contained either a redundant row, or has no solution.

1 Like

Thank you this helps a lot!

Or, of course, there could be an error in your code, if no all-zeros row is expected to be there.