# Eigen

> C++ template library for linear algebra: matrices, vectors and solvers

Source: https://talira.ai/catalog/eigen-zcfdb1wb
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / math / linear algebra](https://talira.ai/categories/libraries/math/linear-algebra), [languages / c cpp](https://talira.ai/categories/languages/c-cpp)
- Licence: MPL-2.0[^2]
- Pricing: Free and open source[^2]
- Free tier: yes[^2]
- Backed by: [The Eigen Project](https://talira.ai/orgs/eigen-project.md)

Eigen is a header-only C++ template library for linear algebra: fixed-size and dynamic dense matrices, sparse matrices, vectors, matrix decompositions, numerical solvers and geometry. It needs nothing beyond the C++ standard library (C++14), with no binary to link. Expression templates avoid temporaries, fixed-size matrices avoid heap allocation, and it vectorizes explicitly for SSE, AVX, AVX2, AVX-512, FMA, ARM NEON, PowerPC AltiVec/VSX and more. Unsupported modules add non-linear optimization, matrix functions, a polynomial solver and FFT. Its site moved from eigen.tuxfamily.org to GitLab Pages.

## Links

- Website: https://libeigen.gitlab.io/
- GitLab: https://gitlab.com/libeigen/eigen
- Docs: https://libeigen.gitlab.io/documentation/

## Ways to install

### Package managers

- [Homebrew](https://talira.ai/catalog/homebrew-djy17yn9.md): <https://formulae.brew.sh/formula/eigen>[^1]

## Problems it solves

- fast matrix and vector maths in C++
- solve a system of linear equations in C++
- a header-only C++ linear algebra library with no dependencies

## Features

- matrix and vector maths in C++ with fixed-size, dynamic and sparse matrices
- matrix decompositions and linear solvers
- header-only with no dependencies
- SIMD vectorization for SSE, AVX, AVX-512 and NEON

## Trust

Overall: 0.64 out of 1.
Signals: maintenance 1.00, adoption 0.62, momentum 0.36, community 0.83, backing 0.30, extensibility 0.00.

- last commit 2 days ago
- 646 commits in the last 90 days
- latest release 5.0.1 12 months ago
- 1.2k GitLab stars
- 121 contributors
- 535 Homebrew installs in 30 days
- backed by The Eigen Project

## Alternatives

- [OpenGL Mathematics (GLM)](https://talira.ai/catalog/opengl-mathematics-glm-n4y9yh7v.md): Header-only C++ mathematics library for graphics, modelled on GLSL

## Sources

[^1]: https://formulae.brew.sh/formula/eigen (checked 26 Nov 2026)
[^2]: https://libeigen.gitlab.io/ (checked 26 Nov 2026)
