Quote:
Originally Posted by xpi0t0s View Post
Something like this would do the trick:
Code:
max <= a[0][0]
loc <= 0
for i = 1..49
  if a[i][0] > max
    max <= a[i][0]
    loc <= i
Is there any way to check to determine the greatest value that is chosen to be the pivot using this sample code you provided? How would you swap the rows? Does anyone know a good source that may have good matrix operation help?