matrs

Crates.iomatrs
lib.rsmatrs
version0.2.0
sourcesrc
created_at2022-05-24 10:04:45.200037
updated_at2022-09-07 13:03:21.148386
descriptionA package for creating statically sized and typed matrices and vectors
homepage
repositoryhttps://github.com/ivario123/matrix_math
max_upload_size
id592689
size7,963,979
Ivar Jönsson (ivario123)

documentation

https://ivario123.github.io/matrix_math/

README

matrix_math

build run_tests

What is this?

This is my matrix math library, it is at worst linear memory and hopefully constant memory for everything that does not need instantiation of temporary variables. It is also written to allocate memory at compile time and not use dynamic memory allocation. This is done to optimize it for embedded systems and neural networks where we know the size of each layer, it is not good for neat tho, as that would require a lot of reallocating memory.

So you want to use this in your project?

Just add this line to your cargo.toml

matrs = "0.2.0"

How it works

Matrices and vectors support the basic linear algebra operations. Read through the docs for more information.

Future plans

  • Implement usage of tpu and gpus for faster computation.
  • Implement usage of multiple threads for faster computation.
  • Implement more optimized algorithms.
  • Implement for specific compile targets, such as RISC-v vector extensions.
  • Implement more mathematical operations
  • Implement more rigorous error handling.

License

This software is provided with zero warranty. And it is free to use. For more info please see the license

Contributing

Before contributing please read the entire docs to make sure you understand what the goal of the project is. Also, read the contributing guide ( Not done yet ), then if you have any questions please ask on the github issues. Finally when you have any code to submit feel free to fork the repo and submit a pull request.

Commit count: 48

cargo fmt