eigen: Eigen C++ library (linear algebra: matrices, vectors, numerical solvers).

[ algebra, algorithms, bsd3, data, library, math, numeric, statistics ] [ Propose Tags ]

This module provides Haskell binding for Eigen C++ library.

"Eigen is versatile."

It supports all matrix sizes, from small fixed-size matrices to arbitrarily large dense matrices, and even sparse matrices.

It supports all standard numeric types, including std::complex, integers, and is easily extensible to custom numeric types.

It supports various matrix decompositions and geometry features.

Its ecosystem of unsupported modules provides many specialized features such as non-linear optimization, matrix functions, a polynomial solver, FFT, and much more.

"Eigen is fast."

Expression templates allow to intelligently remove temporaries and enable lazy evaluation, when that is appropriate.

Explicit vectorization is performed for SSE 234, ARM NEON, and AltiVec instruction sets, with graceful fallback to non-vectorized code.

Fixed-size matrices are fully optimized: dynamic memory allocation is avoided, and the loops are unrolled when that makes sense.

For large matrices, special attention is paid to cache-friendliness.

"Eigen is reliable."

Algorithms are carefully selected for reliability. Reliability trade-offs are clearly documented and extremely safe decompositions are available.

Eigen is thoroughly tested through its own test suite (over 500 executables), the standard BLAS test suite, and parts of the LAPACK test suite.

"Eigen is elegant."

The API is extremely clean and expressive while feeling natural to C++ programmers, thanks to expression templates.

Implementing an algorithm on top of Eigen feels like just copying pseudocode.

"Eigen has good compiler support"
as we run our test suite against many compilers to guarantee reliability and work around any compiler bugs. Eigen also is standard C++98 and maintains very reasonable compilation times.

Eigen is licensed under the MPL2, which is a simple weak copyleft license. Common questions about the MPL2 are answered in the official MPL2 FAQ at http://www.mozilla.org/MPL/2.0/FAQ.html.

Note that currently, a few features in Eigen rely on third-party code licensed under the LGPL: SimplicialCholesky, AMD ordering, and constrained_cg. Such features are explicitly disabled by compiling Eigen with the EIGEN_MPL2_ONLY preprocessor symbol defined.

Virtually any software may use Eigen. For example, closed-source software may use Eigen without having to disclose its own source code. Many proprietary and closed-source software projects are using Eigen right now, as well as many BSD-licensed projects.

Package documentation is based or replicate original Eigen documentation.

Versions [faq] 1.0.0, 1.1.1, 1.1.2, 1.2.1, 1.2.2, 1.2.3, 1.2.4, 1.2.5, 2.0.0, 2.0.1, 2.1.0, 2.1.1, 2.1.2, 2.1.3, 2.1.4, 2.1.5, 2.1.6, 2.1.7, 3.3.4.0, 3.3.4.1, 3.3.4.2, 3.3.7.0 (info)
Dependencies base (>=3 && <5), bytestring, primitive (>=0.1 && <0.7), transformers (>=0.3), vector (>=0.5 && <0.12) [details]
License BSD-3-Clause
Copyright (c) 2013-2015, Oleg Sidorkin
Author Oleg Sidorkin <oleg.sidorkin@gmail.com>
Maintainer Oleg Sidorkin <oleg.sidorkin@gmail.com>
Revised Revision 3 made by OlegSidorkin at Sun Jul 19 08:14:59 UTC 2015
Category Data, Math, Algebra, Statistics, Algorithms, Numeric
Home page https://github.com/osidorkin/haskell-eigen
Source repo head: git clone git://github.com/osidorkin/haskell-eigen.git
Uploaded by OlegSidorkin at Sat Jul 18 11:36:45 UTC 2015
Distributions NixOS:3.3.7.0
Downloads 10185 total (243 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs uploaded by user
Build status unknown [no reports yet]

Modules

[Index]

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

For package maintainers and hackage trustees