Ah, OK cool. So next: Write a small Lisp wrapper function to call the the foreign routine and return it's values as a list or maybe an array?
--- wspage@suse:~> export SBCL_HOME=/usr/local/lib/sbcl wspage@suse:~> fricas -nox Checking for foreign routines AXIOM="/usr/local/lib/fricas/target/x86_64-suse-linux" spad-lib="/usr/local/lib/fricas/target/x86_64-suse-linux/lib/libspad.so" foreign routines found openServer result 0 FriCAS Computer Algebra System Version: FriCAS 2014-12-18 Timestamp: Sun Oct 25 21:18:13 EDT 2015 ----------------------------------------------------------------------------- Issue )copyright to view copyright notices. Issue )summary for a summary of useful system commands. Issue )quit to leave FriCAS and return to shell. ----------------------------------------------------------------------------- (1) -> )fin * (load "~/quicklisp/setup") T * (ql:quickload "gsll") To load "gsll": Load 1 ASDF system: gsll ; Loading "gsll" ............. ("gsll") * (|spad|) (1) -> )lisp (gsll:integration-qng (lambda (x) (exp (- (* x x)))) 0.0 1.0) Value = 0.7468241328124271 (1) -> --- On 25 October 2015 at 21:55, Kurt Pagani <nil...@gmail.com> wrote: > > >> Don't know how to REQUIRE SB-BSD-SOCKETS > usually indicates that SBCL_HOME is not set. > > Did you? > -- You received this message because you are subscribed to the Google Groups "FriCAS - computer algebra system" group. To unsubscribe from this group and stop receiving emails from it, send an email to fricas-devel+unsubscr...@googlegroups.com. To post to this group, send email to fricas-devel@googlegroups.com. Visit this group at http://groups.google.com/group/fricas-devel. For more options, visit https://groups.google.com/d/optout.