19 releases

0.9.3 Mar 2, 2020
0.9.2 Oct 28, 2019
0.9.1 May 11, 2019
0.9.0 Mar 31, 2019
0.3.0 Oct 30, 2016

#1572 in Math

Download history 6605/week @ 2024-03-14 9077/week @ 2024-03-21 10006/week @ 2024-03-28 8578/week @ 2024-04-04 8106/week @ 2024-04-11 8575/week @ 2024-04-18 8533/week @ 2024-04-25 8181/week @ 2024-05-02 7439/week @ 2024-05-09 7393/week @ 2024-05-16 6453/week @ 2024-05-23 6937/week @ 2024-05-30 6244/week @ 2024-06-06 6950/week @ 2024-06-13 7433/week @ 2024-06-20 5949/week @ 2024-06-27

27,566 downloads per month
Used in fewer than 33 crates

Apache-2.0

135KB
2.5K SLoC

Build status

Documentation

alga − abstract algebra for Rust

alga aims to provide solid mathematical abstractions to algebra-focused applications. It defines and organizes through trait inheritance the basic building blocks of general algebraic structures. Specific implementations of algebraic structure traits are left to other crates. Higher-level traits for specialized domains of algebra (like linear algebra) are also provided and will prove useful for applications that include code that is generic wrt. the algebraic entity types.

Examples of types that could derive from traits defined in alga:

  • Integers, reals and rationals numbers
  • Complex numbers
  • Polynomials
  • Matrices and vectors
  • Quaternions and octonians
  • Strings under concatenation

alga started as a fork of algebra.

References

Interesting papers

Inspiring Libraries

Dependencies

~0.6–1MB
~18K SLoC