Commit b07e9299 authored by Liam Healy's avatar Liam Healy

New functions to parse :callbacks argument

New functions 
work on the :callbacks argument.  The first one parses the whole
argument.  The second one parses a particular function specification
from :callbacks.  The third one parses a particular argument of a
particular function.  When given 'dimensions, this function supplies
all the dimensions, and #'defmcallback expands to make a list of the
arguments.  Then call-maybe-scalar passes these on to array-to-list,
which currently only handles a vector.  These are now used in
#'make-defmcallbacks and #'defmcallbacks.  Both
monte-carlo-integrate-plain and integration-QNG compile and run
correctly.  I have eliminated the old defmcallback and supporting
definitions to clean up the file.
parent 4c0e484c
;; Chebyshev Approximations
;; Liam Healy Sat Nov 17 2007 - 20:36
;; Time-stamp: <2009-03-09 22:04:31EDT chebyshev.lisp>
;; Time-stamp: <2009-03-10 22:45:03EDT chebyshev.lisp>
;; $Id$
(in-package :gsl)
......@@ -16,9 +16,15 @@
"Chebyshev series"
:documentation ; FDL
"Make a Chebyshev series of specified order."
;; Old arguments:
:superclasses (callback-included)
:ci-class-slots (gsl-function nil (function))
;; :ci-class-slots (gsl-mfunction-fdf marray (function df fdf))
;; New arguments:
:callbacks (callback gsl-function (function))
;:callback-dynamic ((function))
:initialize-suffix "init"
((callback :pointer) (lower-limit :double) (upper-limit :double))
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment