Packages / rupm

matrix-tools 0.1.0

Small dense f64 matrices with multiply, transpose, determinant, inverse and solve

Install

cargo add matrix-tools --registry rupm

In Ruststudio: Packages, search for matrix-tools, Install.

Owner: Rust Studio. Licence: MIT OR Apache-2.0. Total downloads: 0. Published 2026-11-22.

Versions

README

# matrix-tools

Small dense f64 matrices with multiply, transpose, determinant, inverse and solve

Add it with `rupm add matrix-tools` (or `cargo add matrix-tools --registry rupm`).

```rust
let a = matrix_tools::Matrix::from_rows(&[&[2.0, 0.0], &[0.0, 4.0]])?;
let x = a.solve(&[2.0, 4.0])?;
assert_eq!(x, vec![1.0, 1.0]);
```