[go: up one dir, main page]

Trait AbstractField

Source
pub trait AbstractField<A: Operator = Additive, M: Operator = Multiplicative>: AbstractRingCommutative<A, M> + AbstractGroupAbelian<M> { }
Expand description

A field is a commutative ring, and an Abelian group under both operators.

A field is a set with two binary operations, an addition and a multiplication, which are both closed, commutative, associative possess the divisibility property and an identity element, noted 0 and 1 respectively. Furthermore the multiplication is distributive over the addition.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl AbstractField for f32

Source§

impl AbstractField for f64

Source§

impl<N: Num + Clone + ClosedNeg + AbstractField> AbstractField for Complex<N>

Implementors§