Ignoramus
12-14-2003, 10:31 AM
Hi all!
I tried using the algorithm dfridr for calculating derivatives (given in chapter 5-7), and kind of liked it :)
I only want to understand a single thing about this algorithm: the fac variable. As it follows from the code, fac is increased by CON2 from column to column of the Neville matrix, while the hh variable (i.e. the step of extrapolation) is increased only by CON. Although the algorithm works perfectly as I experimented with it, it still seems quite weird to me, since Neville algorithm for polynomial extrapolation AFAIK would use the same hh for all columns in this case. As I also tried incrementing fac by CON only, the algorithm seems to work as well, but with somewhat worse convergence.
What is this all about? What is the meaning of fac? Why is it multiplied by CON2 instead of CON?
By the way, I also wonder why CON is 1.4 and NTAB is 10. ;)
Sorry for being meticulous, it's just that I hate Copy-Paste programming ;)
Thanks.
I tried using the algorithm dfridr for calculating derivatives (given in chapter 5-7), and kind of liked it :)
I only want to understand a single thing about this algorithm: the fac variable. As it follows from the code, fac is increased by CON2 from column to column of the Neville matrix, while the hh variable (i.e. the step of extrapolation) is increased only by CON. Although the algorithm works perfectly as I experimented with it, it still seems quite weird to me, since Neville algorithm for polynomial extrapolation AFAIK would use the same hh for all columns in this case. As I also tried incrementing fac by CON only, the algorithm seems to work as well, but with somewhat worse convergence.
What is this all about? What is the meaning of fac? Why is it multiplied by CON2 instead of CON?
By the way, I also wonder why CON is 1.4 and NTAB is 10. ;)
Sorry for being meticulous, it's just that I hate Copy-Paste programming ;)
Thanks.