The hblas package

[Tags:bsd3, library, test]

User friendly, simple bindings to BLAS and Lapack. Easy to extend and use.

HBLAS assumes you have BLAS and LAPACK installed. Users on OSX already have a BLAS and LAPACK installed for them. Users on LINUX and similar platforms will need to do the system equivalent of sudo apt-get install libblas liblapack.

HBLAS is not intended to be a library for end user array operations, but rather an easy adaptor for calling BLAS and LAPACK routines in their full generality from your end-user haskell linear algebra / array library of choice.

HBLAS roughly mirrors the naming conventions and datatype names of the standard BLAS and LAPACK libraries. Those of you who are familiar with these conventions and moderately comfortable with haskell will feel right at home.

If you are not familiar with the the operations and conventions of BLAS and Lapack, please read the Intel MKL BLAS and LAPACK documention, you'll learn a lot about what BLAS and LAPACK can do.

HBLAS doesn't provide every BLAS and LAPACK operation currently, but is designed so that adding support for new operations is quite easy!

[Skip to Readme]


Change log
Dependencies base (>=4.6 && <4.8), primitive (==0.5.*), storable-complex (>=0.2.0 && <0.3.0), vector [details]
License BSD3
Author Carter Tazio Schonwald
Maintainer carter at wellposed dot com
Category Math
Home page
Bug tracker
Source repository head: git clone
Uploaded Tue Apr 29 17:53:02 UTC 2014 by CarterSchonwald
Distributions NixOS:
Downloads 1518 total (67 in the last 30 days)
1 []
Status Docs available [build log]
Successful builds reported [all 1 reports]





Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Maintainer's Corner

For package maintainers and hackage trustees

Readme for hblas

Readme for hblas-


About hblas

hblas is an open source component of the Wellposed® mathematical software suite.

Members of the numerical haskell open source community can be found on irc at #numerical-haskell on freenode, and via the numericalhaskell mailing list.

Build Status

hblas is a self contained full (well, not quite yet) BLAS and LAPACK binding that provides the full BLAS and LAPACKE APIs in a simple, unopinionated, Haskell wrapper.

This library is NOT meant to be used by end users, it is designed to be an unopinionated, simple, portable, easy to install BLAS/LAPACK substrate for higher level numerical computing libraries to build upon. Morever, this library is strictly a wrapper, and simply makes using the functionality of BLAS and LAPACK more accessible.

This library is NOT meant to be used a standalone array library (except in desperation), but rather should be used by a higher level numerical array library to provide high performance linear algebra routines.

how to install

By default, hblas will assume you have BLAS and LAPACK built and installed,

  • On OS X systems, things will just work.
  • On linux and bsd systems, the equivalent of
sudo apt-get install libblas liblapack

is all you should have to do before hand

getting involved

patches, bug reports, tests, and other contributions welcome.

Want to add a new routine, check out the ones listed in the lapack section of the Intel MKL manual to get some human readable documentation.

I have > 32bit size arrays, help!

Congrats, you have ``big compute on big data'', contact Carter and we'll try to help you out.