Convert Msor To Sor ^new^

w = 1.5 # chosen average or optimal for i in range(n): x_new[i] = (1-w)*x_old[i] + w*(b[i] - sum(A[i][j]*x_new[j] for j<i) - sum(A[i][j]*x_old[j] for j>i)) / A[i][i]

Because the denominator is smaller, for the same period. convert msor to sor

: Because a standard .SOR file can only hold one wavelength, the software acts like a prism. If the original MSOR had tests for 1310nm and 1550nm, the software automatically splits them into two separate .SOR files—one for each wavelength. i) - sum(A[i][j]*x_old[j] for j&gt

for i in range(n): if i < n/2: w = 1.2 else: w = 1.8 x_new[i] = (1-w)*x_old[i] + w*(b[i] - sum(A[i][j]*x_new[j] for j<i) - sum(A[i][j]*x_old[j] for j>i)) / A[i][i] i)) / A[i][i]