Skip to main content

Distributive

Trait Distributive 

Source
pub trait Distributive { }
Expand description

Marker trait: Promises that a * (b + c) == (a * b) + (a * c).

Implementations on Foreign Types§

Source§

impl Distributive for f32

Source§

impl Distributive for f64

Source§

impl Distributive for i8

Source§

impl Distributive for i16

Source§

impl Distributive for i32

Source§

impl Distributive for i64

Source§

impl Distributive for i128

Source§

impl Distributive for isize

Source§

impl Distributive for u8

Source§

impl Distributive for u16

Source§

impl Distributive for u32

Source§

impl Distributive for u64

Source§

impl Distributive for u128

Source§

impl Distributive for usize

Implementors§

Source§

impl Distributive for Float106

Source§

impl<T: RealField> Distributive for Complex<T>

Source§

impl<T: RealField> Distributive for Octonion<T>

Implements the Distributive marker trait for Octonion.

This signifies that multiplication of Octonions distributes over addition, i.e., a * (b + c) = (a * b) + (a * c). This property holds for octonions.

Source§

impl<T: RealField> Distributive for Quaternion<T>