The mention of GSL makes me think to point out the following directory:

        
https://github.com/chapel-lang/chapel/tree/master/test/users/npadmana/gsl_demonstration

which shows how Nikhil Padmanabhan used an extern { #include ... } block in order to access GSL functions from within Chapel that didn't have a native Chapel equivalent yet (and which he didn't want to write himtself).

-Brad


On Wed, 7 Sep 2016, Nicholas Park wrote:


I am trying to do mean, median. mode, standard deviation just now so
could add these ­ if my code is even remotely good enough, which it may
not be as I am a beginner at Chapel. Is there a Chapel statistics
module with these and regressions, time series, and all that sort of
stuff.

Unfortunately, there is no statistics module at this time, meaning a lot
of this will either have to be coded up by hand or by wrapping an external
C library.


Anecdotal data point: At one point, started wrapping parts of the GSL in
Chapel, starting with RNG and statistics functions. I ran some simple
performance/timing tests computing mean and variance and I found that a
native Chapel implementation was faster than a GSL library call.

Nick
------------------------------------------------------------------------------
_______________________________________________
Chapel-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/chapel-users

Reply via email to