Skip to content

xXDevSShXx/matrix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Matrix

A Rust library for working with matrices and linear algebra operations.

Installation

To use the Matrix library, add the following to your Cargo.toml file:

[dependencies]
matrix = {git = "https://github.com/xXDevSShXx/matrix.git"}

Then, import the library in your Rust code:

use matrix::Matrix;

Building

To build the Matrix library, run the following command in the project directory:

cargo build --release

Usage

The Matrix library provides the following main features:

  • Creating and manipulating matrices
  • Performing matrix operations such as addition, subtraction, multiplication, and transposition
  • Calculating the determinant and inverse of a matrix

Here's an example of how to use the library:

let collection = vec![
    vec![1.0, 3.0, 5.0],
    vec![2.0, 4.0, 6.0],
    vec![3.0, 7.0, 11.0],
];
let matrix: Matrix = Matrix::from(base_collection);

let determinant = matrix.determinant();
println!("Determinant: {}", determinant);

Contributing

Contributions to the Matrix library are welcome! If you find any issues or have ideas for new features, please open an issue on the GitHub repository. Pull requests are also encouraged.

License

The Matrix library is licensed under the MIT License.

About

My implementation of the Mathematical concept of Matrices in Rust

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages