OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
lubksb.c
Go to the documentation of this file.
1 
2 void lubksb(float **a, int n, int *indx, float b[]) {
3  int i, ii = 0, ip, j;
4  float sum;
5 
6  for (i = 1; i <= n; i++) {
7  ip = indx[i];
8  sum = b[ip];
9  b[ip] = b[i];
10  if (ii)
11  for (j = ii; j <= i - 1; j++) sum -= a[i][j] * b[j];
12  else if (sum) ii = i;
13  b[i] = sum;
14  }
15  for (i = n; i >= 1; i--) {
16  sum = b[i];
17  for (j = i + 1; j <= n; j++) sum -= a[i][j] * b[j];
18  b[i] = sum / a[i][i];
19  }
20 }
int j
Definition: decode_rs.h:73
void lubksb(float **a, int n, int *indx, float b[])
Definition: lubksb.c:2
data_t b[NROOTS+1]
Definition: decode_rs.h:77
int i
Definition: decode_rs.h:71
PGE01 indicating that PGE02 PGE01 V6 for and PGE01 V2 for MOD03 were used to produce the granule By convention adopted in all MODIS Terra PGE02 code versions are The fourth digit of the PGE02 version denotes the LUT version used to produce the granule The source of the metadata environment variable ProcessingCenter was changed from a QA LUT value to the Process Configuration A sign used in error in the second order term was changed to a
Definition: HISTORY.txt:424