There are several versions of awk. I tend to use GNU AWK and MAWK in my scripts. I have tried to avoid language-specific features in the programs in order to maintain portability.
I frequently encounter long lists of numbers which need some kind of numeric processing performed on them. Although AWK is not the fastest language around for performing this task, it is reasonably good and very easy to write. Most of these programs are pipeline based.
This fits an Nth order polynomial to the incoming data. It uses the standard Vandermonde technique and uses simple Gaussian elimination on the matrix to find the coefficients. In practice, this has never caused me enough problems for me to use a more reliable inversion technique.
Updated July 14th 2011, 10:52
Home : Programs | libCVD | Hardware hacks | Publications | Teaching | TooN | Research
* Programs : EPS to ARTK | Autoconf tutorial | Awk | Numerical Disasters in C | Floating point templates in C++ | Gnokiifs | Parallel | PostScript | Sed Hacking | X11 programs
* * Awk : No subtopics.
ed (at) edwardrosten . com
Check HTML compliance