Trait alga::general::AbstractRingCommutative [−][src]
A ring with a commutative multiplication.
A commutative ring is a set with two binary operations: a closed commutative and associative with the divisibility property and an identity element, and another closed associative and commutative with the divisibility property and an identity element.
Commutativity
∀ a, b ∈ Self, a × b = b × a
Provided methods
fn prop_mul_is_commutative_approx(args: (Self, Self)) -> bool where
Self: RelativeEq,
[src]
Self: RelativeEq,
Returns true
if the multiplication operator is commutative for the given argument tuple.
Approximate equality is used for verifications.
fn prop_mul_is_commutative(args: (Self, Self)) -> bool where
Self: Eq,
[src]
Self: Eq,
Returns true
if the multiplication operator is commutative for the given argument tuple.