@hackage accelerate-blas0.1.0.1

Numeric Linear Algebra in Accelerate

Numeric linear algebra in Accelerate

Build Status

Linear systems, matrix decompositions, and other numerical computations for use in Accelerate. Most operations are implemented efficiently via FFI calls to BLAS and LAPACK. For details on Accelerate, refer to the main repository.

Please get in touch to let me know which missing operations you would like see added to the library. Contributions are also welcome!

FFI bindings

  • accelerate-llvm-native: FFI bindings are provided by the blas-hs package, which has several options for which underlying BLAS library to link against; see that package for setup details.

  • accelerate-llvm-ptx: FFI bindings to the NVIDIA cuBLAS library.

Complex numbers

Due to Accelerate's struct-of-array representation of complex numbers, compared to the C-style array-of-struct representation, calling foreign implementations of complex-valued operations entails an extra data marshalling step.