Numeric Linear Algebra in Accelerate

Version on this page:
LTS Haskell 11.22:
Stackage Nightly 2018-03-12:
Latest on Hackage:

See all snapshots accelerate-blas appears in

BSD-3-Clause licensed by Trevor L. McDonell
Maintained by [email protected]
This version can be pinned in stack with:accelerate-blas-,5836

Module documentation for

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.


Revision history for accelerate-blas

Notable changes to the project will be documented in this file.

The format is based on Keep a Changelog and the project adheres to the Haskell Package Versioning Policy (PVP) - 2017-09-25

  • test-suite: build fix for ghc-8.2 - 2017-09-21

  • First version. Released on an unsuspecting world.