Struct ssimd::f32x4
[−]
[src]
#[repr(packed)]pub struct f32x4(_, _, _, _);
Methods
impl f32x4
[src]
fn new(x0: f32, x1: f32, x2: f32, x3: f32) -> Self
[src]
Create new instance
fn splat(x: f32) -> Self
[src]
Create new instance with all lanes set to a value
fn extract(self, idx: u32) -> f32
[src]
Get the idx
th lane value
fn replace(self, idx: u32, elem: f32) -> Self
[src]
Replace the idx
th lane with new value
fn load(array: &[f32], idx: usize) -> Self
[src]
Load instance from an array
fn store(self, array: &mut [f32], idx: usize)
[src]
Store self to an array
fn eq(self, rhs: Self) -> bool32x4
[src]
Compare if equal
fn ne(self, rhs: Self) -> bool32x4
[src]
Compare if not equal
fn lt(self, rhs: Self) -> bool32x4
[src]
Compare if less than
fn le(self, rhs: Self) -> bool32x4
[src]
Compare if less than or equal
fn gt(self, rhs: Self) -> bool32x4
[src]
Compare if greater than
fn ge(self, rhs: Self) -> bool32x4
[src]
Compare if greater than or equal
fn max(self, rhs: Self) -> Self
[src]
Get max values by lane
fn min(self, rhs: Self) -> Self
[src]
Get min values by lane
impl f32x4
[src]
fn sqrt(self) -> Self
[src]
Get square root
fn approx_rsqrt(self) -> Self
[src]
Get reciprocal of square root
fn approx_reciprocal(self) -> Self
[src]
Get reciprocal
impl f32x4
[src]
impl f32x4
[src]
impl f32x4
[src]
Trait Implementations
impl Debug for f32x4
[src]
impl Clone for f32x4
[src]
fn clone(&self) -> f32x4
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for f32x4
[src]
impl Add for f32x4
[src]
type Output = Self
The resulting type after applying the +
operator.
fn add(self, rhs: Self) -> Self
[src]
Performs the +
operation.
impl Sub for f32x4
[src]
type Output = Self
The resulting type after applying the -
operator.
fn sub(self, rhs: Self) -> Self
[src]
Performs the -
operation.
impl Mul for f32x4
[src]
type Output = Self
The resulting type after applying the *
operator.
fn mul(self, rhs: Self) -> Self
[src]
Performs the *
operation.