Skip to main content

AvxArray

Trait AvxArray 

Source
pub trait AvxArray<T: AvxNum>: Deref {
    // Required methods
    unsafe fn load_complex(&self, index: usize) -> T::VectorType;
    unsafe fn load_partial1_complex(
        &self,
        index: usize,
    ) -> <T::VectorType as AvxVector256>::HalfVector;
    unsafe fn load_partial2_complex(
        &self,
        index: usize,
    ) -> <T::VectorType as AvxVector256>::HalfVector;
    unsafe fn load_partial3_complex(&self, index: usize) -> T::VectorType;
    fn input_ptr(&self) -> *const Complex<T>;
}

Required Methods§

Source

unsafe fn load_complex(&self, index: usize) -> T::VectorType

Source

unsafe fn load_partial1_complex( &self, index: usize, ) -> <T::VectorType as AvxVector256>::HalfVector

Source

unsafe fn load_partial2_complex( &self, index: usize, ) -> <T::VectorType as AvxVector256>::HalfVector

Source

unsafe fn load_partial3_complex(&self, index: usize) -> T::VectorType

Source

fn input_ptr(&self) -> *const Complex<T>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<T: AvxNum> AvxArray<T> for &[Complex<T>]

Source§

unsafe fn load_complex(&self, index: usize) -> T::VectorType

Source§

unsafe fn load_partial1_complex( &self, index: usize, ) -> <T::VectorType as AvxVector256>::HalfVector

Source§

unsafe fn load_partial2_complex( &self, index: usize, ) -> <T::VectorType as AvxVector256>::HalfVector

Source§

unsafe fn load_partial3_complex(&self, index: usize) -> T::VectorType

Source§

fn input_ptr(&self) -> *const Complex<T>

Source§

impl<T: AvxNum> AvxArray<T> for &mut [Complex<T>]

Source§

unsafe fn load_complex(&self, index: usize) -> T::VectorType

Source§

unsafe fn load_partial1_complex( &self, index: usize, ) -> <T::VectorType as AvxVector256>::HalfVector

Source§

unsafe fn load_partial2_complex( &self, index: usize, ) -> <T::VectorType as AvxVector256>::HalfVector

Source§

unsafe fn load_partial3_complex(&self, index: usize) -> T::VectorType

Source§

fn input_ptr(&self) -> *const Complex<T>

Implementors§

Source§

impl<'a, T: AvxNum> AvxArray<T> for DoubleBuf<'a, T>
where &'a [Complex<T>]: AvxArray<T>,