pub struct c32conj {
    pub re: f32,
    pub neg_im: f32,
}
Expand description

32-bit implicitly conjugated complex floating point type.

Fields§

§re: f32

Real part.

§neg_im: f32

Negated imaginary part.

Trait Implementations§

source§

impl Add<c32> for c32conj

§

type Output = c32

The resulting type after applying the + operator.
source§

fn add(self, rhs: c32) -> Self::Output

Performs the + operation. Read more
source§

impl Add<c32conj> for c32

§

type Output = c32

The resulting type after applying the + operator.
source§

fn add(self, rhs: c32conj) -> Self::Output

Performs the + operation. Read more
source§

impl AddAssign<c32conj> for c32

source§

fn add_assign(&mut self, rhs: c32conj)

Performs the += operation. Read more
source§

impl Clone for c32conj

source§

fn clone(&self) -> c32conj

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 Conjugate for c32conj

§

type Conj = c32

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

type Canonical = c32

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 Debug for c32conj

source§

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

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

impl Display for c32conj

source§

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

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

impl Div<c32> for c32conj

§

type Output = c32

The resulting type after applying the / operator.
source§

fn div(self, rhs: c32) -> Self::Output

Performs the / operation. Read more
source§

impl Div<c32conj> for c32

§

type Output = c32

The resulting type after applying the / operator.
source§

fn div(self, rhs: c32conj) -> Self::Output

Performs the / operation. Read more
source§

impl DivAssign<c32conj> for c32

source§

fn div_assign(&mut self, rhs: c32conj)

Performs the /= operation. Read more
source§

impl Entity for c32conj

§

type Unit = c32conj

§

type Index = u32

§

type SimdUnit<S: Simd> = <S as Simd>::c32s

§

type SimdMask<S: Simd> = <S as Simd>::m32s

§

type SimdIndex<S: Simd> = <S as Simd>::u32s

§

type Group = IdentityGroup

§

type Iter<I: Iterator> = I

§

type PrefixUnit<'a, S: Simd> = Prefix<'a, Complex<f32>, S, <S as Simd>::m32s>

§

type SuffixUnit<'a, S: Simd> = Suffix<'a, Complex<f32>, S, <S as Simd>::m32s>

§

type PrefixMutUnit<'a, S: Simd> = PrefixMut<'a, Complex<f32>, S, <S as Simd>::m32s>

§

type SuffixMutUnit<'a, S: Simd> = SuffixMut<'a, Complex<f32>, S, <S as Simd>::m32s>

source§

const N_COMPONENTS: usize = 1usize

source§

const UNIT: GroupCopyFor<Self, ()> = ()

source§

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

source§

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

source§

fn faer_into_units(self) -> GroupFor<Self, Self::Unit>

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: <Self::Group as ForType>::FaerOf<T>, f: impl FnMut(T) -> U ) -> <Self::Group as ForType>::FaerOf<U>

source§

fn faer_unzip2<T>( zipped: <Self::Group as ForType>::FaerOf<[T; 2]> ) -> [<Self::Group as ForType>::FaerOf<T>; 2]

source§

fn faer_unzip4<T>( zipped: <Self::Group as ForType>::FaerOf<[T; 4]> ) -> [<Self::Group as ForType>::FaerOf<T>; 4]

source§

fn faer_unzip8<T>( zipped: <Self::Group as ForType>::FaerOf<[T; 8]> ) -> [<Self::Group as ForType>::FaerOf<T>; 8]

source§

fn faer_as_arrays<const N: usize, T>( group: <Self::Group as ForType>::FaerOf<&[T]> ) -> (<Self::Group as ForType>::FaerOf<&[[T; N]]>, <Self::Group as ForType>::FaerOf<&[T]>)

source§

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

source§

fn faer_deref<T>( group: <Self::Group as ForType>::FaerOf<&T> ) -> <Self::Group as ForType>::FaerOf<T>
where T: Copy,

source§

fn faer_rb<'short, T>( value: <Self::Group as ForType>::FaerOf<&'short T> ) -> <Self::Group as ForType>::FaerOf<<T as Reborrow<'short>>::Target>
where T: Reborrow<'short>,

source§

fn faer_rb_mut<'short, T>( value: <Self::Group as ForType>::FaerOf<&'short mut T> ) -> <Self::Group as ForType>::FaerOf<<T as ReborrowMut<'short>>::Target>
where T: ReborrowMut<'short>,

source§

fn faer_into_const<T>( value: <Self::Group as ForType>::FaerOf<T> ) -> <Self::Group as ForType>::FaerOf<<T as IntoConst>::Target>
where T: IntoConst,

source§

fn faer_copy<T>( x: &<Self::Group as ForType>::FaerOf<T> ) -> <Self::Group as ForType>::FaerOf<T>
where T: Copy,

source§

impl Mul<c32> for c32conj

§

type Output = c32

The resulting type after applying the * operator.
source§

fn mul(self, rhs: c32) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<c32conj> for c32

§

type Output = c32

The resulting type after applying the * operator.
source§

fn mul(self, rhs: c32conj) -> Self::Output

Performs the * operation. Read more
source§

impl MulAssign<c32conj> for c32

source§

fn mul_assign(&mut self, rhs: c32conj)

Performs the *= operation. Read more
source§

impl PartialEq for c32conj

source§

fn eq(&self, other: &c32conj) -> 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 Rem<c32> for c32conj

§

type Output = c32

The resulting type after applying the % operator.
source§

fn rem(self, rhs: c32) -> Self::Output

Performs the % operation. Read more
source§

impl Rem<c32conj> for c32

§

type Output = c32

The resulting type after applying the % operator.
source§

fn rem(self, rhs: c32conj) -> Self::Output

Performs the % operation. Read more
source§

impl RemAssign<c32conj> for c32

source§

fn rem_assign(&mut self, rhs: c32conj)

Performs the %= operation. Read more
source§

impl Sub<c32> for c32conj

§

type Output = c32

The resulting type after applying the - operator.
source§

fn sub(self, rhs: c32) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<c32conj> for c32

§

type Output = c32

The resulting type after applying the - operator.
source§

fn sub(self, rhs: c32conj) -> Self::Output

Performs the - operation. Read more
source§

impl SubAssign<c32conj> for c32

source§

fn sub_assign(&mut self, rhs: c32conj)

Performs the -= operation. Read more
source§

impl Zeroable for c32conj

source§

fn zeroed() -> Self

source§

impl Copy for c32conj

source§

impl Pod for c32conj

source§

impl StructuralPartialEq for c32conj

Auto Trait Implementations§

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> Pointable for T

source§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
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> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. 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> Boilerplate for T
where T: Copy + Send + Sync + Debug + PartialEq + 'static,

source§

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

source§

impl<T, Rhs, Output> NumOps<Rhs, Output> for T
where T: Sub<Rhs, Output = Output> + Mul<Rhs, Output = Output> + Div<Rhs, Output = Output> + Add<Rhs, Output = Output> + Rem<Rhs, Output = Output>,

source§

impl<E> SimpleEntity for E
where E: Entity<Group = IdentityGroup, Unit = E>,