foreign-numeric-vector is a package for working with numeric vectors stored in the foreign (non-Lisp) heap. This is useful for implementing foreign function interfaces to foreign libraries (e.g. BLAS, LAPACK, FFTW). It is especially useful for wrapping libraries portably across CL implementations which vary in their choices of boxing or unboxing of individual elements of native arrays, and which may or may not offer the ability to protect an array from being moved by the CL garbage collector.


License: BSD

Topics: FFI