Re: [pure-lang-users] GSL
Status: Beta
Brought to you by:
agraef
|
From: Albert G. <Dr....@t-...> - 2008-04-30 17:48:26
|
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 -- Dr. Albert Gr"af Dept. of Music-Informatics, University of Mainz, Germany Email: Dr....@t-..., ag...@mu... WWW: http://www.musikinformatik.uni-mainz.de/ag |