Trait alga::general::Quasigroup
[−]
[src]
pub trait Quasigroup<O: Op>: Magma<O> + Inverse<O> { fn prop_inv_is_latin_square(args: (Self, Self)) -> bool where Self: ApproxEq { ... } }
A magma with the divisibility property.
Divisibility is a weak form of right and left invertibility:
∀ a, b ∈ Self, ∃! r, l ∈ Self such that l ∘ a = b and a ∘ r = b
Provided Methods
fn prop_inv_is_latin_square(args: (Self, Self)) -> bool where Self: ApproxEq
Returns true
if latin squareness holds for the given arguments.