Re: [pure-lang-users] GSL
Status: Beta
Brought to you by:
agraef
|
From: Eddie R. <er...@bm...> - 2008-04-30 19:44:51
|
The previous reply didn't go to the listserv. Yes, I *think* this should be a snap. E.R. On Wed, 2008-04-30 at 20:03 +0200, Albert Graef wrote: > Eddie Rucker wrote: > > Check this out! > > > > Critical values of the student t-distribution from GSL: > > Great, congrats. So when can we expect the Pure GSL module? ;-) > > >> using "lib:libgsl"; > >> extern double gsl_cdf_tdist_Pinv(double, double); > >> extern double gsl_cdf_tdist_Qinv(double, double); > >> let left, right = gsl_cdf_tdist_Pinv 0.05 12.0, gsl_cdf_tdist_Qinv > > 0.05 12.0; > >> left, right; > > -1.78228755564932,1.78228755564932 > > > > Beautiful!!! I just dig it!!! > > Nice. It's *much* fun to do system programming with Pure. I really > enjoyed doing the regex and printf/scanf stuff in system.pure. You can > go as low as C, but it's just ... much nicer. ;-) > > Albert > |