Trait alga::general::AbstractGroupAbelian
[−]
[src]
pub trait AbstractGroupAbelian<O: Operator>: AbstractGroup<O> { fn prop_is_commutative_approx(args: (Self, Self)) -> bool
where
Self: ApproxEq, { ... } fn prop_is_commutative(args: (Self, Self)) -> bool
where
Self: Eq, { ... } }
An commutative group.
∀ a, b ∈ Self, a ∘ b = b ∘ a
Provided Methods
fn prop_is_commutative_approx(args: (Self, Self)) -> bool where
Self: ApproxEq,
Self: ApproxEq,
Returns true
if the operator is commutative for the given argument tuple. Approximate
equality is used for verifications.
fn prop_is_commutative(args: (Self, Self)) -> bool where
Self: Eq,
Self: Eq,
Returns true
if the operator is commutative for the given argument tuple.
Implementations on Foreign Types
impl<N> AbstractGroupAbelian<Multiplicative> for Complex<N> where
N: Num + Clone + ClosedNeg,
[src]
N: Num + Clone + ClosedNeg,
impl<N> AbstractGroupAbelian<Additive> for Complex<N> where
N: AbstractGroupAbelian<Additive>,
[src]
N: AbstractGroupAbelian<Additive>,