Group: comp.lang.fortran · Group Profile · Search for Ifact in comp.lang.fortran
Author: Louis Krupp
Date: Oct 30, 2006 00:34
...' Legendre polynomals are given for m=0. ! ! Calls: pure recursive function ifact -> double factorial n!! implicit none real(dp) :: Plm... l if(l == m) then Plm = (-1)**m * ifact(2.0d0*m-1.0d0) * (1.0d0-x**2)**(m... once for (x, m, l-1). Then there's ifact; if you're computing the factorial recursively, that will slow ...
|