• Liam Healy's avatar
    Pass complex scalars to GSL functions · 4647599b
    Liam Healy authored
    By sending the two parts of a complex as separate doubles (complex
    double-float), or packing the two parts into a one double-float
    argument (complex single-float), it is possible to pass complex
    numbers in GSL function calls.  This is very likely to be
    non-portable, so a test is conducted and the results
    in *pass-complex-scalar-as-two-reals* determine whether defmfun does
    this translation or just creates a function that signals an error.
    The complex tests have been modified so that no longer expect an
    error:
    SBCL 64: TOTAL: 1223 assertions passed, 5 failed, 0 execution errors.
    CCL 64: TOTAL: 1228 assertions passed, 0 failed, 0 execution errors.
    This also works in 32 bit SBCL.
    4647599b
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...
complex.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...