stack-algebra

A stack-allocated lightweight algebra library for bare-metal applications.

Overview

This crate provides a stack-allocated matrix type with constant size determined at compile time. The primary goal for this library is to be useful in building robotics applications in rust. This means several things: 1. Target platform is often bare-metal 2. Size of the matrices can usually be defined at compile-time 3. Problem solving does not require large matrices or heavy optimization 4. Users are not experts in rust but often familiar with scientific tools (e.g. python or matlab)

Implementing numerical algorithms in rust can be made much more productive and ergonomic if simple abstractions and necessary algebra routines are available. This library is a growing collection of addressing those needs. It is heavily based on vectrix for core implementations.

Install

Use cargo to add to your project (or add manually to your Cargo.toml) sh cargo add stack-algebra Then import to your module by using rust use stack_algebra::*; // or import just the items you need

Usage

License

This project is distributed under the terms of both the MIT license and the Apache License (Version 2.0).

See LICENSE-APACHE and LICENSE-MIT for details.