% We potentially just performed one more iteration than necessary
% in order to simplify the loop. Note that due to the structure of
% our loop, we will have k > max_iterations when we fail to
% converge.
k = k + 1;
% We potentially just performed one more iteration than necessary
% in order to simplify the loop. Note that due to the structure of
% our loop, we will have k > max_iterations when we fail to
% converge.
k = k + 1;