Dimension is the repository for mathlib, a Rust linear algebra library providing dense and sparse matrices, vectors, SVD decomposition, and 3D math helpers.
All code lives in the mathlib/ crate. Build, test, benchmark, and generate docs from that folder:
cd mathlib && cargo build
cd mathlib && cargo test
cd mathlib && cargo bench
cd mathlib && cargo doc --openLinting and coverage (optional): From repo root run just clippy and just coverage (or see docs/dev-tools.md). Open mathlib/coverage/tarpaulin-report.html for the coverage report.
- docs/DOCS.md — Architecture, main types, operators, usage examples, and performance notes.
- docs/claude.md — Project context for Claude and other AI assistants.
- AGENTS.md — Structured project and API summary for LLMs.
- API docs — From the repo root:
cd mathlib && cargo doc --open(Rustdoc for themathlibcrate).
To report a vulnerability, see SECURITY.md. Do not open a public issue for security issues.
See LICENSE.