-
- Downloads
GSL arrays created by GSL functions
Made the generic function #'contents-from-pointer that takes a pointer to a GSL struct and produces a list of the contents suitable for the :initial-contents argument to #'make-marray. Added an argument :from-pointer to #'make-marray that then creates a new marray with the same contents. Some functions in solve-minimize-fit return a pointer to a GSL vector with double-floats. Copying in this way is necessary because GSL has malloced the data in a non-CL place. Sometimes, this results in the copying of data whose only further use will be to extract a pointer to pass to another GSL function. Added a method to #'mpointer that permits directly passing a pointer, but this isn't useful for arrays because there are many element types so the functions have been defined as methods.
Showing
- data/maref.lisp 1 addition, 27 deletionsdata/maref.lisp
- data/marray.lisp 28 additions, 12 deletionsdata/marray.lisp
- data/matrix.lisp 11 additions, 1 deletiondata/matrix.lisp
- data/vector.lisp 7 additions, 1 deletiondata/vector.lisp
- init/mobject.lisp 15 additions, 1 deletioninit/mobject.lisp
- solve-minimize-fit/minimization-multi.lisp 8 additions, 8 deletionssolve-minimize-fit/minimization-multi.lisp
- solve-minimize-fit/nonlinear-least-squares.lisp 24 additions, 24 deletionssolve-minimize-fit/nonlinear-least-squares.lisp
- solve-minimize-fit/roots-multi.lisp 13 additions, 13 deletionssolve-minimize-fit/roots-multi.lisp
Loading
Please register or sign in to comment