This is the mail archive of the gsl-discuss@sources.redhat.com mailing list for the GSL project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: faster log factorials


James Theiler writes:
 >   While looking at another part of GSL (randist/binomial.c -- I'll
 > have more to say about that in a later email), I realized that the
 > function gsl_sf_lnfact() [this computes log(n!)] could be speeded up
 > for small arguments by pre-computing the logarithms. 

Sounds reasonable to provide the log in the table as well. 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]