talira

Compare

OpenGL Mathematics (GLM)Eigen
What it isHeader-only C++ mathematics library for graphics, modelled on GLSLC++ template library for linear algebra: matrices, vectors and solvers
KindOpen sourceOpen source
Trust0.450.64
Stars113251207
Last commit2026-04-072026-11-28
LicenceMIT OR The Happy Bunny License (Modified MIT License)MPL-2.0
PricingFree and open sourceFree and open source
Free tierYesYes
Self-hostable——
Ways to run it——
SOC 2——
HIPAA——
SSO——
API——
Plugins——
MCP server——
CompanyG-Truc CreationThe Eigen Project
Features
  • GLSL-style vector and matrix types and functions in C++
  • header-only, with no dependencies
  • extensions for matrix transformations (translate, rotate, perspective) and quaternions
  • data packing, random numbers and noise
  • GCC, Clang, Visual C++ and experimental CUDA support
  • 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
Limitations
  • Needs a C++17 compiler; older compilers need the 1.0 branch.