#[repr(C)]
pub struct ComplexConj<T> { pub re: T, pub neg_im: T, }
Expand description

This structure contains the real and imaginary parts of an implicity conjugated value.

Fields§

§re: T§neg_im: T

Trait Implementations§

source§

impl<T: Clone> Clone for ComplexConj<T>

source§

fn clone(&self) -> ComplexConj<T>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<E: Entity + ComplexField> Conjugate for ComplexConj<E>

§

type Conj = Complex<E>

Must have the same layout as Self, and Conj::Unit must have the same layout as Unit.
§

type Canonical = Complex<E>

Must have the same layout as Self, and Canonical::Unit must have the same layout as Unit.
source§

fn canonicalize(self) -> Self::Canonical

Performs the implicit conjugation operation on the given value, returning the canonical form.
source§

impl<T: Debug> Debug for ComplexConj<T>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<E: Entity> Entity for ComplexConj<E>

§

type Unit = <E as Entity>::Unit

§

type Index = <E as Entity>::Index

§

type SimdUnit<S: Simd> = <E as Entity>::SimdUnit<S>

§

type SimdMask<S: Simd> = <E as Entity>::SimdMask<S>

§

type SimdIndex<S: Simd> = <E as Entity>::SimdIndex<S>

§

type Group = ComplexConjGroup<<E as Entity>::Group>

§

type Iter<I: Iterator> = ComplexConjIter<<E as Entity>::Iter<I>>

§

type PrefixUnit<'a, S: Simd> = <E as Entity>::PrefixUnit<'a, S>

§

type SuffixUnit<'a, S: Simd> = <E as Entity>::SuffixUnit<'a, S>

§

type PrefixMutUnit<'a, S: Simd> = <E as Entity>::PrefixMutUnit<'a, S>

§

type SuffixMutUnit<'a, S: Simd> = <E as Entity>::SuffixMutUnit<'a, S>

source§

const N_COMPONENTS: usize = _

source§

const UNIT: GroupFor<Self, ()> = _

source§

fn faer_first<T>(group: GroupFor<Self, T>) -> T

source§

fn faer_from_units(group: GroupFor<Self, UnitFor<Self>>) -> Self

source§

fn faer_into_units(self) -> GroupFor<Self, UnitFor<Self>>

source§

fn faer_as_ref<T>(group: &GroupFor<Self, T>) -> GroupFor<Self, &T>

source§

fn faer_as_mut<T>(group: &mut GroupFor<Self, T>) -> GroupFor<Self, &mut T>

source§

fn faer_as_ptr<T>(group: *mut GroupFor<Self, T>) -> GroupFor<Self, *mut T>

source§

fn faer_map_impl<T, U>( group: GroupFor<Self, T>, f: &mut impl FnMut(T) -> U ) -> GroupFor<Self, U>

source§

fn faer_map_with_context<Ctx, T, U>( ctx: Ctx, group: GroupFor<Self, T>, f: &mut impl FnMut(Ctx, T) -> (Ctx, U) ) -> (Ctx, GroupFor<Self, U>)

source§

fn faer_zip<T, U>( first: GroupFor<Self, T>, second: GroupFor<Self, U> ) -> GroupFor<Self, (T, U)>

source§

fn faer_unzip<T, U>( zipped: GroupFor<Self, (T, U)> ) -> (GroupFor<Self, T>, GroupFor<Self, U>)

source§

fn faer_into_iter<I: IntoIterator>( iter: GroupFor<Self, I> ) -> Self::Iter<I::IntoIter>

source§

fn faer_map<T, U>( group: GroupFor<Self, T>, f: impl FnMut(T) -> U ) -> GroupFor<Self, U>

source§

fn faer_unzip2<T>(zipped: GroupFor<Self, [T; 2]>) -> [GroupFor<Self, T>; 2]

source§

fn faer_unzip4<T>(zipped: GroupFor<Self, [T; 4]>) -> [GroupFor<Self, T>; 4]

source§

fn faer_unzip8<T>(zipped: GroupFor<Self, [T; 8]>) -> [GroupFor<Self, T>; 8]

source§

fn faer_as_arrays<const N: usize, T>( group: GroupFor<Self, &[T]> ) -> (GroupFor<Self, &[[T; N]]>, GroupFor<Self, &[T]>)

source§

fn faer_as_arrays_mut<const N: usize, T>( group: GroupFor<Self, &mut [T]> ) -> (GroupFor<Self, &mut [[T; N]]>, GroupFor<Self, &mut [T]>)

source§

fn faer_deref<T: Copy>(group: GroupFor<Self, &T>) -> GroupFor<Self, T>

source§

fn faer_rb<'short, T: Reborrow<'short>>( value: GroupFor<Self, &'short T> ) -> GroupFor<Self, T::Target>

source§

fn faer_rb_mut<'short, T: ReborrowMut<'short>>( value: GroupFor<Self, &'short mut T> ) -> GroupFor<Self, T::Target>

source§

fn faer_into_const<T: IntoConst>( value: GroupFor<Self, T> ) -> GroupFor<Self, T::Target>

source§

fn faer_copy<T: Copy>(x: &GroupFor<Self, T>) -> GroupFor<Self, T>

source§

impl<T: PartialEq> PartialEq for ComplexConj<T>

source§

fn eq(&self, other: &ComplexConj<T>) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<T: Zeroable> Zeroable for ComplexConj<T>

source§

fn zeroed() -> Self

source§

impl<T: Copy> Copy for ComplexConj<T>

source§

impl<T: Eq> Eq for ComplexConj<T>

source§

impl<T: Pod> Pod for ComplexConj<T>

source§

impl<T> StructuralPartialEq for ComplexConj<T>

Auto Trait Implementations§

§

impl<T> RefUnwindSafe for ComplexConj<T>
where T: RefUnwindSafe,

§

impl<T> Send for ComplexConj<T>
where T: Send,

§

impl<T> Sync for ComplexConj<T>
where T: Sync,

§

impl<T> Unpin for ComplexConj<T>
where T: Unpin,

§

impl<T> UnwindSafe for ComplexConj<T>
where T: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CheckedBitPattern for T
where T: AnyBitPattern,

§

type Bits = T

Self must have the same layout as the specified Bits except for the possible invalid bit patterns being checked during is_valid_bit_pattern.
source§

fn is_valid_bit_pattern(_bits: &T) -> bool

If this function returns true, then it must be valid to reinterpret bits as &Self.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> AnyBitPattern for T
where T: Pod,

source§

impl<T> NoUninit for T
where T: Pod,