|
NCEPLIBS-bufr
12.2.0
|
Compute a unique 1-dimensional array index from 2-dimensional indices. More...
Go to the source code of this file.
Functions | |
| int | icvidx (int ii, int jj, int numjj) |
| Computes a unique 1-dimensional array index from 2-dimensional indices. More... | |
Compute a unique 1-dimensional array index from 2-dimensional indices.
Definition in file icvidx.c.
| int icvidx | ( | int | ii, |
| int | jj, | ||
| int | numjj | ||
| ) |
Computes a unique 1-dimensional array index from 2-dimensional indices.
This allows a 2-dimensional (row-by-column) array to be stored and accessed as a 1-dimensional array.
| ii | - first (row) index |
| jj | - second (column) index |
| numjj | - maximum number of column indices |
Definition at line 22 of file icvidx.c.
Referenced by cpmstabs(), srchrpsq(), strrpsq(), and stseq().