... points2.1
It is for a good reason that the PESSL Spectral Method example we went through in our previous lecture, P573, asked for 7 harmonics in each direction, because $2\times7 + 2 = 16 = 2^4$, which is a good number for FFT.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
... follows3.1
There is an error in the formula for c in the ``Numerical Recipes''. But the code is fine. You can easily spot the error if you compare the formula with the code actually - assuming that you don't quite remember what it should be.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
Zdzislaw Meglicki
2001-02-26