[][src]Struct na::Additive

pub struct Additive;

The addition operator, commonly symbolized by +.

Trait Implementations

impl<N> TwoSidedInverse<Additive> for Quaternion<N> where
    N: RealField
[src]

default fn two_sided_inverse_mut(&mut self)[src]

In-place inversion of self, relative to the operator O. Read more

impl<N, R, C> TwoSidedInverse<Additive> for Matrix<N, R, C, <DefaultAllocator as Allocator<N, R, C>>::Buffer> where
    C: DimName,
    N: Scalar + ClosedNeg,
    R: DimName,
    DefaultAllocator: Allocator<N, R, C>, 
[src]

impl<N, R, C> AbstractGroup<Additive> for Matrix<N, R, C, <DefaultAllocator as Allocator<N, R, C>>::Buffer> where
    C: DimName,
    N: Scalar + AbstractGroup<Additive> + Zero + ClosedAdd<N> + ClosedNeg,
    R: DimName,
    DefaultAllocator: Allocator<N, R, C>, 
[src]

impl<N> AbstractGroup<Additive> for Quaternion<N> where
    N: RealField
[src]

impl<N> AbstractSemigroup<Additive> for Quaternion<N> where
    N: RealField
[src]

default fn prop_is_associative_approx(args: (Self, Self, Self)) -> bool where
    Self: RelativeEq<Self>, 
[src]

Returns true if associativity holds for the given arguments. Approximate equality is used for verifications. Read more

default fn prop_is_associative(args: (Self, Self, Self)) -> bool where
    Self: Eq
[src]

Returns true if associativity holds for the given arguments.

impl<N, R, C> AbstractSemigroup<Additive> for Matrix<N, R, C, <DefaultAllocator as Allocator<N, R, C>>::Buffer> where
    C: DimName,
    N: Scalar + AbstractSemigroup<Additive> + ClosedAdd<N>,
    R: DimName,
    DefaultAllocator: Allocator<N, R, C>, 
[src]

default fn prop_is_associative_approx(args: (Self, Self, Self)) -> bool where
    Self: RelativeEq<Self>, 
[src]

Returns true if associativity holds for the given arguments. Approximate equality is used for verifications. Read more

default fn prop_is_associative(args: (Self, Self, Self)) -> bool where
    Self: Eq
[src]

Returns true if associativity holds for the given arguments.

impl<N> Identity<Additive> for Quaternion<N> where
    N: RealField
[src]

default fn id(O) -> Self[src]

Specific identity.

impl<N, R, C> Identity<Additive> for Matrix<N, R, C, <DefaultAllocator as Allocator<N, R, C>>::Buffer> where
    C: DimName,
    N: Scalar + Zero,
    R: DimName,
    DefaultAllocator: Allocator<N, R, C>, 
[src]

default fn id(O) -> Self[src]

Specific identity.

impl<N> AbstractModule<Additive, Additive, Multiplicative> for Quaternion<N> where
    N: RealField
[src]

type AbstractRing = N

The underlying scalar field.

impl<N, R, C> AbstractModule<Additive, Additive, Multiplicative> for Matrix<N, R, C, <DefaultAllocator as Allocator<N, R, C>>::Buffer> where
    C: DimName,
    N: Scalar + RingCommutative,
    R: DimName,
    DefaultAllocator: Allocator<N, R, C>, 
[src]

type AbstractRing = N

The underlying scalar field.

impl<N> AbstractLoop<Additive> for Quaternion<N> where
    N: RealField
[src]

impl<N, R, C> AbstractLoop<Additive> for Matrix<N, R, C, <DefaultAllocator as Allocator<N, R, C>>::Buffer> where
    C: DimName,
    N: Scalar + AbstractLoop<Additive> + Zero + ClosedAdd<N> + ClosedNeg,
    R: DimName,
    DefaultAllocator: Allocator<N, R, C>, 
[src]

impl<N, R, C> AbstractGroupAbelian<Additive> for Matrix<N, R, C, <DefaultAllocator as Allocator<N, R, C>>::Buffer> where
    C: DimName,
    N: Scalar + AbstractGroupAbelian<Additive> + Zero + ClosedAdd<N> + ClosedNeg,
    R: DimName,
    DefaultAllocator: Allocator<N, R, C>, 
[src]

default fn prop_is_commutative_approx(args: (Self, Self)) -> bool where
    Self: RelativeEq<Self>, 
[src]

Returns true if the operator is commutative for the given argument tuple. Approximate equality is used for verifications. Read more

default fn prop_is_commutative(args: (Self, Self)) -> bool where
    Self: Eq
[src]

Returns true if the operator is commutative for the given argument tuple.

impl<N> AbstractGroupAbelian<Additive> for Quaternion<N> where
    N: RealField
[src]

default fn prop_is_commutative_approx(args: (Self, Self)) -> bool where
    Self: RelativeEq<Self>, 
[src]

Returns true if the operator is commutative for the given argument tuple. Approximate equality is used for verifications. Read more

default fn prop_is_commutative(args: (Self, Self)) -> bool where
    Self: Eq
[src]

Returns true if the operator is commutative for the given argument tuple.

impl<N> AbstractMagma<Additive> for Quaternion<N> where
    N: RealField
[src]

default fn op(&self, O, lhs: &Self) -> Self[src]

Performs specific operation.

impl<N, R, C> AbstractMagma<Additive> for Matrix<N, R, C, <DefaultAllocator as Allocator<N, R, C>>::Buffer> where
    C: DimName,
    N: Scalar + ClosedAdd<N>,
    R: DimName,
    DefaultAllocator: Allocator<N, R, C>, 
[src]

default fn op(&self, O, lhs: &Self) -> Self[src]

Performs specific operation.

impl<N, R, C> AbstractMonoid<Additive> for Matrix<N, R, C, <DefaultAllocator as Allocator<N, R, C>>::Buffer> where
    C: DimName,
    N: Scalar + AbstractMonoid<Additive> + Zero + ClosedAdd<N>,
    R: DimName,
    DefaultAllocator: Allocator<N, R, C>, 
[src]

default fn prop_operating_identity_element_is_noop_approx(args: (Self,)) -> bool where
    Self: RelativeEq<Self>, 
[src]

Checks whether operating with the identity element is a no-op for the given argument. Approximate equality is used for verifications. Read more

default fn prop_operating_identity_element_is_noop(args: (Self,)) -> bool where
    Self: Eq
[src]

Checks whether operating with the identity element is a no-op for the given argument. Read more

impl<N> AbstractMonoid<Additive> for Quaternion<N> where
    N: RealField
[src]

default fn prop_operating_identity_element_is_noop_approx(args: (Self,)) -> bool where
    Self: RelativeEq<Self>, 
[src]

Checks whether operating with the identity element is a no-op for the given argument. Approximate equality is used for verifications. Read more

default fn prop_operating_identity_element_is_noop(args: (Self,)) -> bool where
    Self: Eq
[src]

Checks whether operating with the identity element is a no-op for the given argument. Read more

impl<N, R, C> AbstractQuasigroup<Additive> for Matrix<N, R, C, <DefaultAllocator as Allocator<N, R, C>>::Buffer> where
    C: DimName,
    N: Scalar + AbstractQuasigroup<Additive> + ClosedAdd<N> + ClosedNeg,
    R: DimName,
    DefaultAllocator: Allocator<N, R, C>, 
[src]

default fn prop_inv_is_latin_square_approx(args: (Self, Self)) -> bool where
    Self: RelativeEq<Self>, 
[src]

Returns true if latin squareness holds for the given arguments. Approximate equality is used for verifications. Read more

default fn prop_inv_is_latin_square(args: (Self, Self)) -> bool where
    Self: Eq
[src]

Returns true if latin squareness holds for the given arguments. Read more

impl<N> AbstractQuasigroup<Additive> for Quaternion<N> where
    N: RealField
[src]

default fn prop_inv_is_latin_square_approx(args: (Self, Self)) -> bool where
    Self: RelativeEq<Self>, 
[src]

Returns true if latin squareness holds for the given arguments. Approximate equality is used for verifications. Read more

default fn prop_inv_is_latin_square(args: (Self, Self)) -> bool where
    Self: Eq
[src]

Returns true if latin squareness holds for the given arguments. Read more

impl<N> AbstractRingCommutative<Additive, Multiplicative> for Complex<N> where
    N: AbstractRingCommutative<Additive, Multiplicative> + ClosedNeg + Clone + Num
[src]

default fn prop_mul_is_commutative_approx(args: (Self, Self)) -> bool where
    Self: RelativeEq<Self>, 
[src]

Returns true if the multiplication operator is commutative for the given argument tuple. Approximate equality is used for verifications. Read more

default fn prop_mul_is_commutative(args: (Self, Self)) -> bool where
    Self: Eq
[src]

Returns true if the multiplication operator is commutative for the given argument tuple.

impl Copy for Additive[src]

impl Clone for Additive[src]

default fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl<N> AbstractGroup<Additive> for Complex<N> where
    N: AbstractGroupAbelian<Additive>, 
[src]

impl<N> AbstractLoop<Additive> for Complex<N> where
    N: AbstractGroupAbelian<Additive>, 
[src]

impl<N> TwoSidedInverse<Additive> for Complex<N> where
    N: TwoSidedInverse<Additive>, 
[src]

default fn two_sided_inverse_mut(&mut self)[src]

In-place inversion of self, relative to the operator O. Read more

impl<N> AbstractModule<Additive, Additive, Multiplicative> for Complex<N> where
    N: AbstractRingCommutative<Additive, Multiplicative> + ClosedNeg + Num
[src]

type AbstractRing = N

The underlying scalar field.

impl<N> AbstractField<Additive, Multiplicative> for Complex<N> where
    N: AbstractField<Additive, Multiplicative> + ClosedNeg + Clone + Num
[src]

impl<N> AbstractQuasigroup<Additive> for Complex<N> where
    N: AbstractGroupAbelian<Additive>, 
[src]

default fn prop_inv_is_latin_square_approx(args: (Self, Self)) -> bool where
    Self: RelativeEq<Self>, 
[src]

Returns true if latin squareness holds for the given arguments. Approximate equality is used for verifications. Read more

default fn prop_inv_is_latin_square(args: (Self, Self)) -> bool where
    Self: Eq
[src]

Returns true if latin squareness holds for the given arguments. Read more

impl<N> AbstractMagma<Additive> for Complex<N> where
    N: AbstractMagma<Additive>, 
[src]

default fn op(&self, O, lhs: &Self) -> Self[src]

Performs specific operation.

impl Operator for Additive[src]

impl Identity<Additive> for i64[src]

default fn id(O) -> Self[src]

Specific identity.

impl Identity<Additive> for u64[src]

default fn id(O) -> Self[src]

Specific identity.

impl Identity<Additive> for f64[src]

default fn id(O) -> Self[src]

Specific identity.

impl Identity<Additive> for u8[src]

default fn id(O) -> Self[src]

Specific identity.

impl<N> Identity<Additive> for Complex<N> where
    N: Identity<Additive>, 
[src]

default fn id(O) -> Self[src]

Specific identity.

impl Identity<Additive> for usize[src]

default fn id(O) -> Self[src]

Specific identity.

impl Identity<Additive> for i16[src]

default fn id(O) -> Self[src]

Specific identity.

impl Identity<Additive> for u32[src]

default fn id(O) -> Self[src]

Specific identity.

impl Identity<Additive> for i32[src]

default fn id(O) -> Self[src]

Specific identity.

impl Identity<Additive> for i8[src]

default fn id(O) -> Self[src]

Specific identity.

impl Identity<Additive> for u16[src]

default fn id(O) -> Self[src]

Specific identity.

impl Identity<Additive> for isize[src]

default fn id(O) -> Self[src]

Specific identity.

impl Identity<Additive> for f32[src]

default fn id(O) -> Self[src]

Specific identity.

impl<N> AbstractRing<Additive, Multiplicative> for Complex<N> where
    N: AbstractRing<Additive, Multiplicative> + ClosedNeg + Clone + Num
[src]

default fn prop_mul_and_add_are_distributive_approx(
    args: (Self, Self, Self)
) -> bool where
    Self: RelativeEq<Self>, 
[src]

Returns true if the multiplication and addition operators are distributive for the given argument tuple. Approximate equality is used for verifications. Read more

default fn prop_mul_and_add_are_distributive(args: (Self, Self, Self)) -> bool where
    Self: Eq
[src]

Returns true if the multiplication and addition operators are distributive for the given argument tuple. Read more

impl<N> AbstractGroupAbelian<Additive> for Complex<N> where
    N: AbstractGroupAbelian<Additive>, 
[src]

default fn prop_is_commutative_approx(args: (Self, Self)) -> bool where
    Self: RelativeEq<Self>, 
[src]

Returns true if the operator is commutative for the given argument tuple. Approximate equality is used for verifications. Read more

default fn prop_is_commutative(args: (Self, Self)) -> bool where
    Self: Eq
[src]

Returns true if the operator is commutative for the given argument tuple.

impl<N> AbstractMonoid<Additive> for Complex<N> where
    N: AbstractGroupAbelian<Additive>, 
[src]

default fn prop_operating_identity_element_is_noop_approx(args: (Self,)) -> bool where
    Self: RelativeEq<Self>, 
[src]

Checks whether operating with the identity element is a no-op for the given argument. Approximate equality is used for verifications. Read more

default fn prop_operating_identity_element_is_noop(args: (Self,)) -> bool where
    Self: Eq
[src]

Checks whether operating with the identity element is a no-op for the given argument. Read more

impl<N> AbstractSemigroup<Additive> for Complex<N> where
    N: AbstractGroupAbelian<Additive>, 
[src]

default fn prop_is_associative_approx(args: (Self, Self, Self)) -> bool where
    Self: RelativeEq<Self>, 
[src]

Returns true if associativity holds for the given arguments. Approximate equality is used for verifications. Read more

default fn prop_is_associative(args: (Self, Self, Self)) -> bool where
    Self: Eq
[src]

Returns true if associativity holds for the given arguments.

Auto Trait Implementations

impl Send for Additive

impl Sync for Additive

Blanket Implementations

impl<V> IntoVec for V[src]

impl<V> IntoPnt for V[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Same for T

type Output = T

Should always be Self

impl<SS, SP> SupersetOf for SP where
    SS: SubsetOf<SP>, 
[src]