• Liam Healy's avatar
    Permit alternate origin of mpointer; #'clone · 38d9c4f4
    Liam Healy authored
    Redesign #'defmobject so that a new method #'allocate is defined that
    calls the standard GSL allocate function for each object.  Shrink the
    initialize-instance :after method to call #'allocate if the mpointer
    isn't given, and then set the finalizer.  This way, an :mpointer made
    by something other than the allocate function may be supplied to the
    make-instance, and the object will be made correctly.  This is used by
    #'clone functions in histogram and random number generators.  Not
    compiled or tested, but macroexpansions look right.
    38d9c4f4
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...