• Liam Healy's avatar
    Redefine #'copy · 419e70d4
    Liam Healy authored
    Redefine #'copy so that it has one required argument (source) and one
    optional argument (destination).  For marrays, create a destination
    using make-marray, if one was not given, and then use the memcpy
    functions to fill the values.  For all other mobjects, copy will copy
    objects by calling one of two generic functions, #'copy-to-destination
    and #'copy-making-destination, depending on whether a destination was
    supplied.  The former is defined if a GSL _memcpy function exists.
    The latter will look for a GSL _clone function, then make a CL
    instance with the pointer returned as mpointer.  If there is no clone
    function, it will attempt to make a new object using make-load-form,
    so will fail if that method has not been defined.
    
    Added a check to defmfun that signals an error if a variable is used
    in the C arguments other than top-level that is not used in the CL
    arglist.  This should not happen and is usually an indication of a
    typo.
    419e70d4
Name
Last commit
Last update
data Loading commit data...
documentation Loading commit data...
floating-point Loading commit data...
histogram Loading commit data...
init Loading commit data...
interpolation Loading commit data...
linear-algebra Loading commit data...
ordinary-differential-equations Loading commit data...
random Loading commit data...
solve-minimize-fit Loading commit data...
special-functions Loading commit data...
statistics Loading commit data...
test-unit Loading commit data...
tests Loading commit data...
.gitignore Loading commit data...
COPYING Loading commit data...
basis-splines.lisp Loading commit data...
chebyshev.lisp Loading commit data...
eigensystems.lisp Loading commit data...
gsll-tests.asd Loading commit data...
gsll.asd Loading commit data...
hankel.lisp Loading commit data...
list Loading commit data...
mathematical.lisp Loading commit data...
monte-carlo.lisp Loading commit data...
numerical-differentiation.lisp Loading commit data...
numerical-integration.lisp Loading commit data...
polynomial.lisp Loading commit data...
series-acceleration.lisp Loading commit data...
simulated-annealing.lisp Loading commit data...
sorting.lisp Loading commit data...
wavelet.lisp Loading commit data...