GSL for Factor

| | Comments (0) | TrackBacks (0)
Factor is a new language that is gaining momentum in the open source community. A few of the core members were in town visiting after the creator Slava gave a Google Tech Talk. Over beers and pizza at the Lucky Lab NW the Factor guys told me how FFI works and we had a binding to a Bessel function working within half an hour. It's that frickin' easy! 

Here is the gitweb for factor-gsl, which currently has support for all Bessel functions. 

To clone master repo:

git clone http://leto.net/code/factor.git

Example usage: 

( scratchpad ) USE: gsl.sf.bessel
( scratchpad ) 10 gsl_sf_bessel_J0 .
-0.2459357644513484

There are tests also, but the docs are still a bit rough. 

0 TrackBacks

Listed below are links to blogs that reference this entry: GSL for Factor.

TrackBack URL for this entry: http://leto.net/mt/mt-tb.cgi/74

Leave a comment

About this Entry

This page contains a single entry by Jonathan Leto published on November 1, 2008 7:15 AM.

Running a Factor Script is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Clicky Web Analytics 42