PeterAptaker
12-11-2002, 11:20 AM
Am I correct?
----------------
Many years ago I think I fixed a bug in plgndr but cannot find anything on the web about it so I will ask ..
x!! (or what every is wanted in eq 6.8.8 NR Forran 2nd ed) seems wrong:
- x!! is NOT the product of odd integers (e.g. 6!! is not 5*3*1)
- x!! is the product of alternating integers (e.g. 6!! =6*4*2)
I believe it is used in F77 and F90 code
For example Mathemtica gives:
x!!= 1, 2, 3, 8, 15, 48 for x=1,2,3,4,5,6
Peter
----------------
Many years ago I think I fixed a bug in plgndr but cannot find anything on the web about it so I will ask ..
x!! (or what every is wanted in eq 6.8.8 NR Forran 2nd ed) seems wrong:
- x!! is NOT the product of odd integers (e.g. 6!! is not 5*3*1)
- x!! is the product of alternating integers (e.g. 6!! =6*4*2)
I believe it is used in F77 and F90 code
For example Mathemtica gives:
x!!= 1, 2, 3, 8, 15, 48 for x=1,2,3,4,5,6
Peter