#linear-algebra #vector #matrix-vector #matrix #rust

rust-linear-algebra

A linear algebra library for Rust

1 unstable release

0.1.2 Jan 31, 2025
0.1.1 Jan 31, 2025
0.1.0 Jan 31, 2025

#594 in Math

Download history 287/week @ 2025-01-28 41/week @ 2025-02-04 4/week @ 2025-02-11

332 downloads per month

MIT license

29KB
974 lines

Rust Linear Algebra Library

A comprehensive linear algebra library implemented in Rust, providing efficient and safe mathematical operations.

Features

  • Vector operations
  • Matrix operations
  • Linear transformations
  • Basic algebraic operations
  • Type-safe implementations

Installation

Add this to your Cargo.toml:

[dependencies]
rust-linear-algebra = "0.1.2"

Usage

use rust_linear_algebra::{Matrix, Vector};

// Create a vector
let v = Vector::from([1.0, 2.0, 3.0]);

// Create a matrix
let m = Matrix::from([
    [1.0, 0.0],
    [0.0, 1.0],
]);

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

No runtime deps