Trait alga::general::AbstractQuasigroup
[−]
[src]
pub trait AbstractQuasigroup<O: Operator>: PartialEq + AbstractMagma<O> + Inverse<O> {
fn prop_inv_is_latin_square_approx(args: (Self, Self)) -> bool
where
Self: ApproxEq,
{ ... }
fn prop_inv_is_latin_square(args: (Self, Self)) -> bool
where
Self: Eq,
{ ... }
}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_approx(args: (Self, Self)) -> bool where
Self: ApproxEq,
Self: ApproxEq,
Returns true if latin squareness holds for the given arguments. Approximate
equality is used for verifications.
fn prop_inv_is_latin_square(args: (Self, Self)) -> bool where
Self: Eq,
Self: Eq,
Returns true if latin squareness holds for the given arguments.
Implementations on Foreign Types
impl<N> AbstractQuasigroup<Multiplicative> for Complex<N> where
N: Num + Clone + ClosedNeg, [src]
N: Num + Clone + ClosedNeg,
impl<N> AbstractQuasigroup<Additive> for Complex<N> where
N: AbstractGroupAbelian<Additive>, [src]
N: AbstractGroupAbelian<Additive>,