Registry / other / nalgebra

nalgebra

JSON →
library0.35.0rscratesunverified

General-purpose linear algebra library with transformations and statically-sized or dynamically-sized matrices.

# Cargo.toml [dependencies] nalgebra = "0.35.0"
INSTALL
IMPORT
SIG · NALGEBRA
N
nalgebra
otherrustv0.35.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Matrix3
use nalgebra::Matrix3;

Create a 3x3 matrix and compute its determinant.

use nalgebra::Matrix3; fn main() { let m = Matrix3::new(1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0); println!("Matrix determinant: {}", m.determinant()); }
Debug
Known issues
gotchaStatically-sized matrices can cause long compile times for large dimensions.
fix
Use dynamically-sized matrices (DMatrix) for large or variable sizes.
affects: >=0.30.0
Upgrade
Version history
0.35.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Amazon
1
Resources
nalgebra — cargo add nalgebra · libregistry