aoc_framework_utils/math/algebra/
division_ring.rs

1/// Algebraic division ring defining two binary operations and the inverse of an element
2pub trait DivisionRing<T> {
3  fn add(&self, other: T) -> T;
4  fn times(&self, other: T) -> T;
5  fn inverse(&self) -> T;
6}