Struct faer_core::group_helpers::SimdFor
source · pub struct SimdFor<E: Entity, S: Simd> {
pub simd: S,
/* private fields */
}Fields§
§simd: SImplementations§
source§impl<E: ComplexField, S: Simd> SimdFor<E, S>
impl<E: ComplexField, S: Simd> SimdFor<E, S>
pub fn new(simd: S) -> Self
pub fn as_simd( self, slice: SliceGroup<'_, E> ) -> (SliceGroup<'_, E, SimdUnitFor<E, S>>, SliceGroup<'_, E>)
pub fn align_offset(self, slice: SliceGroup<'_, E>) -> Offset<E::SimdMask<S>>
pub fn align_offset_ptr( self, ptr: GroupFor<E, *const E::Unit>, len: usize ) -> Offset<E::SimdMask<S>>
pub fn as_simd_mut( self, slice: SliceGroupMut<'_, E> ) -> (SliceGroupMut<'_, E, SimdUnitFor<E, S>>, SliceGroupMut<'_, E>)
pub fn as_aligned_simd( self, slice: SliceGroup<'_, E>, offset: Offset<E::SimdMask<S>> ) -> (Prefix<'_, E, S>, SliceGroup<'_, E, SimdUnitFor<E, S>>, Suffix<'_, E, S>)
pub fn as_aligned_simd_mut( self, slice: SliceGroupMut<'_, E>, offset: Offset<E::SimdMask<S>> ) -> (PrefixMut<'_, E, S>, SliceGroupMut<'_, E, SimdUnitFor<E, S>>, SuffixMut<'_, E, S>)
pub fn splat(self, value: E) -> SimdGroupFor<E, S>
pub fn scalar_mul(self, lhs: E, rhs: E) -> E
pub fn scalar_conj_mul(self, lhs: E, rhs: E) -> E
pub fn scalar_mul_add_e(self, lhs: E, rhs: E, acc: E) -> E
pub fn scalar_conj_mul_add_e(self, lhs: E, rhs: E, acc: E) -> E
pub fn scalar_conditional_conj_mul<C: ConjTy>( self, conj: C, lhs: E, rhs: E ) -> E
pub fn scalar_conditional_conj_mul_add_e<C: ConjTy>( self, conj: C, lhs: E, rhs: E, acc: E ) -> E
pub fn add( self, lhs: SimdGroupFor<E, S>, rhs: SimdGroupFor<E, S> ) -> SimdGroupFor<E, S>
pub fn sub( self, lhs: SimdGroupFor<E, S>, rhs: SimdGroupFor<E, S> ) -> SimdGroupFor<E, S>
pub fn neg(self, a: SimdGroupFor<E, S>) -> SimdGroupFor<E, S>
pub fn scale_real( self, lhs: SimdGroupFor<E::Real, S>, rhs: SimdGroupFor<E, S> ) -> SimdGroupFor<E, S>
pub fn mul( self, lhs: SimdGroupFor<E, S>, rhs: SimdGroupFor<E, S> ) -> SimdGroupFor<E, S>
pub fn conj_mul( self, lhs: SimdGroupFor<E, S>, rhs: SimdGroupFor<E, S> ) -> SimdGroupFor<E, S>
pub fn conditional_conj_mul<C: ConjTy>( self, conj: C, lhs: SimdGroupFor<E, S>, rhs: SimdGroupFor<E, S> ) -> SimdGroupFor<E, S>
pub fn mul_add_e( self, lhs: SimdGroupFor<E, S>, rhs: SimdGroupFor<E, S>, acc: SimdGroupFor<E, S> ) -> SimdGroupFor<E, S>
pub fn conj_mul_add_e( self, lhs: SimdGroupFor<E, S>, rhs: SimdGroupFor<E, S>, acc: SimdGroupFor<E, S> ) -> SimdGroupFor<E, S>
pub fn conditional_conj_mul_add_e<C: ConjTy>( self, conj: C, lhs: SimdGroupFor<E, S>, rhs: SimdGroupFor<E, S>, acc: SimdGroupFor<E, S> ) -> SimdGroupFor<E, S>
pub fn abs2_add_e( self, values: SimdGroupFor<E, S>, acc: SimdGroupFor<E::Real, S> ) -> SimdGroupFor<E::Real, S>
pub fn abs2(self, values: SimdGroupFor<E, S>) -> SimdGroupFor<E::Real, S>
pub fn score(self, values: SimdGroupFor<E, S>) -> SimdGroupFor<E::Real, S>
pub fn reduce_add(self, values: SimdGroupFor<E, S>) -> E
pub fn rotate_left( self, values: SimdGroupFor<E, S>, amount: usize ) -> SimdGroupFor<E, S>
source§impl<E: RealField, S: Simd> SimdFor<E, S>
impl<E: RealField, S: Simd> SimdFor<E, S>
pub fn abs(self, values: SimdGroupFor<E, S>) -> SimdGroupFor<E::Real, S>
pub fn less_than( self, a: SimdGroupFor<E, S>, b: SimdGroupFor<E, S> ) -> SimdMaskFor<E, S>
pub fn less_than_or_equal( self, a: SimdGroupFor<E, S>, b: SimdGroupFor<E, S> ) -> SimdMaskFor<E, S>
pub fn greater_than( self, a: SimdGroupFor<E, S>, b: SimdGroupFor<E, S> ) -> SimdMaskFor<E, S>
pub fn greater_than_or_equal( self, a: SimdGroupFor<E, S>, b: SimdGroupFor<E, S> ) -> SimdMaskFor<E, S>
pub fn select( self, mask: SimdMaskFor<E, S>, if_true: SimdGroupFor<E, S>, if_false: SimdGroupFor<E, S> ) -> SimdGroupFor<E, S>
pub fn index_select( self, mask: SimdMaskFor<E, S>, if_true: SimdIndexFor<E, S>, if_false: SimdIndexFor<E, S> ) -> SimdIndexFor<E, S>
pub fn index_seq(self) -> SimdIndexFor<E, S>
pub fn index_splat(self, value: IndexFor<E>) -> SimdIndexFor<E, S>
pub fn index_add( self, a: SimdIndexFor<E, S>, b: SimdIndexFor<E, S> ) -> SimdIndexFor<E, S>
Trait Implementations§
impl<E: Entity, S: Simd> Copy for SimdFor<E, S>
Auto Trait Implementations§
impl<E, S> RefUnwindSafe for SimdFor<E, S>where E: RefUnwindSafe, S: RefUnwindSafe,
impl<E, S> Send for SimdFor<E, S>
impl<E, S> Sync for SimdFor<E, S>
impl<E, S> Unpin for SimdFor<E, S>where E: Unpin, S: Unpin,
impl<E, S> UnwindSafe for SimdFor<E, S>where E: UnwindSafe, S: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more