# nalgebra

> General-purpose linear algebra library for Rust, with static and dynamic matrices

Source: https://talira.ai/catalog/nalgebra-hb0fgtw0
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 / rust](https://talira.ai/categories/languages/rust)
- Licence: Apache-2.0[^1][^3]
- Pricing: Free and open source[^1][^2]
- Free tier: yes[^1][^2]
- Backed by: [Dimforge](https://talira.ai/orgs/dimforge.md)

nalgebra is Dimforge's linear algebra library for Rust: vectors and matrices whose dimensions are fixed at compile time or set at run time, on the stack or the heap, with matrix decompositions and linear solvers in pure Rust or through LAPACK bindings. It has strongly typed geometric types (points, rotations, quaternions, isometries, similarities, projections) for graphics and physics, a GLM-style API in the nalgebra-glm crate, CSC and CSR sparse matrices in nalgebra-sparse, and builds for WebAssembly and `no_std` embedded targets.

## Links

- Website: https://nalgebra.rs/
- GitHub: https://github.com/dimforge/nalgebra
- Docs: https://www.nalgebra.rs/docs

## Problems it solves

- multiply matrices and solve linear systems in Rust without calling into C
- represent 3D rotations and transforms with types that catch mistakes at compile time in a Rust game or simulation
- do matrix maths on an embedded Rust target with no standard library

## Features

- statically or dynamically sized vectors and matrices
- matrix decompositions and linear solvers, in Rust or via LAPACK
- points, rotations, quaternions, isometries and projections
- sparse CSC/CSR matrices and a GLM-style graphics API

## Trust

Overall: 0.55 out of 1.
Signals: maintenance 0.61, adoption 0.74, momentum 0.45, community 0.95, backing 0.30, extensibility 0.00.

- last commit 3 days ago
- 2 commits in the last 90 days
- 4.8k GitHub stars
- 240 contributors
- accepts sponsorship (Github)
- backed by Dimforge

## Sources

[^1]: https://github.com/dimforge/nalgebra/blob/main/LICENSE (checked 28 Nov 2026)
[^2]: https://nalgebra.rs/ (checked 28 Nov 2026)
[^3]: https://github.com/dimforge/nalgebra/blob/main/Cargo.toml (checked 28 Nov 2026)
