linear-algebra-cblas: A linear algebra library with bindings to BLAS and LAPACK

[ bsd3, library, math, program ] [ Propose Tags ]

Note There are some known bugs in this code, do not use it in production! this package is meant mostly for easy cblas vs haskell benchmarks, not real use.

The BLAS (Basic Linear Algebra Subprograms) are routines that provide standard building blocks for performing basic vector and matrix operations. The Level 1 BLAS perform scalar, vector and vector-vector operations, the Level 2 BLAS perform matrix-vector operations, and the Level 3 BLAS perform matrix-matrix operations. Because the BLAS are efficient, portable, and widely available, they are commonly used in the development of high quality linear algebra software, LAPACK for example.

For more information, see the Netlib BLAS webpage:

[Skip to Readme]


  • Foreign
    • Foreign.BLAS
    • Foreign.LAPACK
    • Foreign.VMath
  • Numeric
    • Numeric.LinearAlgebra
      • Numeric.LinearAlgebra.Matrix
        • Numeric.LinearAlgebra.Matrix.Cholesky
        • Numeric.LinearAlgebra.Matrix.Eigen
        • Numeric.LinearAlgebra.Matrix.Herm
        • Numeric.LinearAlgebra.Matrix.ST
        • Numeric.LinearAlgebra.Matrix.Statistics
        • Numeric.LinearAlgebra.Matrix.Tri
      • Numeric.LinearAlgebra.Packed
        • Numeric.LinearAlgebra.Packed.Cholesky
        • Numeric.LinearAlgebra.Packed.Herm
        • Numeric.LinearAlgebra.Packed.ST
        • Numeric.LinearAlgebra.Packed.Statistics
        • Numeric.LinearAlgebra.Packed.Tri
      • Numeric.LinearAlgebra.Vector
        • Numeric.LinearAlgebra.Vector.ST
        • Numeric.LinearAlgebra.Vector.Statistics
  • Test
    • QuickCheck
      • Test.QuickCheck.LinearAlgebra


Maintainer's Corner

For package maintainers and hackage trustees


  • No Candidates
Versions [RSS] 0.1
Change log NEWS
Dependencies base (>=4 && <5), ieee754, QuickCheck (>=2.1.1 && <3), storable-complex, test-framework (>=0.3.1), test-framework-quickcheck2 (>=0.2.7), vector (>=0.7) [details]
License BSD-3-Clause
Copyright (c) 2010. Patrick Perry <>, Carter Schonwald <carter atsign wellposed dot com> 2012
Author Patrick Perry, Carter Schonwald
Maintainer Carter Schonwald <carter atsign wellposed dot com>
Category Math
Home page
Uploaded by CarterSchonwald at 2013-04-18T17:53:18Z
Distributions NixOS:0.1
Executables test-hs-linear-algebra
Downloads 1104 total (9 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2016-12-21 [all 8 reports]

Readme for linear-algebra-cblas-0.1

[back to package description]
To build the package, there is no need to run the configure script.  Just
use the standard cabal commands:

    runhaskell Setup.lhs configure
    runhaskell Setup.lhs build
    runhaskell Setup.lhs install
The package uses a script to find what BLAS and LAPACK libraries to link with.
To link with a custom BLAS or LAPACK, add the "--with-blas=<lib>" 
or "--with-lapack=<lib>" argument to --configure-option.  For example,

    runhaskell Setup.lhs configure --configure-option="--with-blas=<lib>"

To build this package from the git repository, first run
    aclocal -I m4