#algebra #wikipedia #found #exposition #warnings #tropical #cursory


Implementation of the tropical algebra in Rust

4 releases

0.0.4 Jun 25, 2022
0.0.3 Jun 24, 2022
0.0.2 Jun 15, 2022
0.0.1 Jun 15, 2022

#982 in Math

MIT license

223 lines

Tropical Algebra

This package is an implementation of the tropical algebra in Rust.


Warning: This package is in very early stages of development. Many features have not been implemented yet.

Planned Features:

  • Implement the basic elements of the ring, and their associated operations.
  • Add support for matrices (using tropical matrix addition and matrix multiplication).
  • Convert implementation to generics (to generalize from f64 to any numeric type).


This library is an implementation of the tropical algebras in Rust. A cursory exposition to the tropical algebras can be found on Wikipedia.


~25K SLoC