Re: using matlisp core to link to fortran library

Raymond Toy <[email protected]> Tue, 14 Jul 2009 12:33:29 -0400
Newsgroups gmane.lisp.matlisp.user
Message-ID <[email protected]>
Mirko Vukovic wrote:
> Hi,
>
> I have compiled a bunch of Bessel function routines for complex
> arguments from netlib/amos into a shareable library, and would like to
> link to them from cl (sbcl for now).
>
> Instead of reinventing the wheel, I would like to use matlisp's
> capabilities to link to these libraries.  Can someone point me to the
> important (mat)lisp files where I can find the necessary
> functionality?
>   
I think you should look at src/ffi-sbcl.lisp.  That contains the Fortran
interface used by matlisp to interface LAPACK routines to Lisp.

Ray


------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge