On Jan 30, 2:11 am, Gokhan Sever <[email protected]> wrote: > On Jan 23, 3:04 pm, gsever <[email protected]> wrote: > > > Hello, > > > Is there any plan to add some other distributions mentioned in: > > >http://hg.sagemath.org/sage-main/file/21efb0b3fc47/sage/gsl/probabili... > > > 50 #TODO: Add more distributions available in gsl > > 51 #available but not currently wrapped are exponential, laplace, > > cauchy, landau, gamma, > > 52 #gamma, beta logistic. > > > particularly, the "gamma" one? > > I have been working on > thehttp://hg.sagemath.org/sage-main/file/21efb0b3fc47/sage/gsl/probabili... > file for a few days. I have completed the TODO list except the > doctests. However while looking at the GSL manual (http://www.gnu.org/ > software/gsl/manual/html_node/Random-Number-Distributions.html) I have > realized that some functionality is missing in this wrapper. > (Particulary CDF's for Q and inverse CDF Q's) I am not sure why these > are skipped in the wrapper. > > Moreover while browsing for the other language bindings I have come > across almost a full binding from Perl guys using SWIG > -...@http://search.cpan.org/~leto/Math-GSL/ > They are approach is different what is currently implemented for the > SAGE's. They automate the binding process throughout the templates. > Could someone enlighten me why SAGE takes the manual approach? (No > need for that sophisticated wrapping or lack or man-power / time type > of deal?) > > Once these questions of mine answered I would continue working where I > have left the code. I also sent an e-mail asking PyGSL guys to improve > the GSL-SAGE integration further. > > Thanks for your time. > > Gökhan
Is there any input for this matter? PyGSL (http://sourceforge.net/projects/pygsl/) developer have contacted me back. He says SAGE's and his approach to wrap the C code is different, and his way provides more elegant Pythonic API. As far as I know he wraps a greater portion of the GSL. What do you think? Would these ways get advantage from each other? Or could paths be simplified into a combined path? -- To post to this group, send an email to [email protected] To unsubscribe from this group, send an email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org To unsubscribe from this group, send email to sage-devel+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
