dimforge/nalgebra
Linear algebra library for Rust. observed · 2026-08-28
Health v2 · maintenance only
73/100
- Activity 90
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4859
- days_rel: n/a
- days_push: 64
- n_releases_24m: 0
Adoption not part of the score
4779 stars · 563 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
nalgebra is a general-purpose linear algebra library for Rust providing statically-sized and dynamically-sized vectors and matrices, along with strongly typed geometric entities like points, rotations, quaternions, isometries, and projections. It ships companion crates for graphics-oriented APIs (nalgebra-glm), sparse matrices (nalgebra-sparse), and optional LAPACK-backed decompositions (nalgebra-lapack), and compiles for WASM and embedded no_std targets.
Use cases
- perform vector and matrix math in Rust
- compute matrix decompositions and solve linear systems
- handle 3D rotations, quaternions, and isometries for game or graphics engines
- work with sparse matrices in CSC/CSR format
- use linear algebra in WebAssembly or embedded no_std projects
- replace GLM-style math API in Rust graphics programming
When to choose
- you need fast, comprehensive linear algebra in Rust with strong typing for dimensions and geometric transforms
- you target wasm or embedded environments without the standard library
- you want a GLM-like API for computer graphics via nalgebra-glm
- you need both stack-allocated fixed-size and heap-allocated dynamic-size matrices
When to avoid
- you need a full numerical computing ecosystem like NumPy/SciPy with plotting, statistics, and arrays beyond linear algebra
- you primarily need GPU-accelerated or distributed linear algebra at massive scale
- your project is not written in Rust
Facets
library · maturity stable
math graphics machine-learning simulation rust wasm cross-platform embedded linear-algebra matrix vector quaternions geometric-transformations sparse-matrices glm lapack no-std rust algorithms game-development
5 sources
- readme: https://github.com/dimforge/nalgebra · fetched 2026-08-28 · 20eb0195fcd1
- homepage: https://nalgebra.rs · fetched 2026-08-29 · 864ecb713a03
- site_page: https://nalgebra.rs/docs · fetched 2026-08-29 · e30c6887b341
- site_page: https://nalgebra.rs/docs/user_guide/getting_started · fetched 2026-08-29 · a63f96787ca1
- registry_crates: https://crates.io/api/v1/crates/nalgebra · fetched 2026-08-29 · de2d1f444d6b
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| dimforge/nalgebra | main | 73 |
For agents
markdown · JSON · MCP: product_card(name="dimforge/nalgebra")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem