[−][src]Struct simulated_packed_simd::f64x2
Methods
impl f64x2
[src]
pub fn new(x0: f64, x1: f64) -> Self
[src]
Create new instance
pub fn splat(x: f64) -> Self
[src]
Create new instance with all lanes set to a value
pub fn extract(self, idx: usize) -> f64
[src]
Get the idx
th lane value
pub fn replace(self, idx: usize, elem: f64) -> Self
[src]
Replace the idx
th lane with new value
pub fn load(array: &[f64], idx: usize) -> Self
[src]
Load instance from an array
pub fn from_slice_aligned(slice: &[f64]) -> Self
[src]
Instantiates a new vector with the values of the slice.
pub fn from_slice_unaligned(slice: &[f64]) -> Self
[src]
Instantiates a new vector with the values of the slice.
pub unsafe fn from_slice_aligned_unchecked(slice: &[f64]) -> Self
[src]
Instantiates a new vector with the values of the slice.
pub unsafe fn from_slice_unaligned_unchecked(slice: &[f64]) -> Self
[src]
Instantiates a new vector with the values of the slice.
pub fn store(self, array: &mut [f64], idx: usize)
[src]
Store self to an array
pub fn write_to_slice_aligned(self, slice: &mut [f64])
[src]
Writes the values of the vector to the slice.
pub fn write_to_slice_unaligned(self, slice: &mut [f64])
[src]
Writes the values of the vector to the slice.
pub unsafe fn write_to_slice_aligned_unchecked(self, slice: &mut [f64])
[src]
Writes the values of the vector to the slice.
pub unsafe fn write_to_slice_unaligned_unchecked(self, slice: &mut [f64])
[src]
Writes the values of the vector to the slice.
pub fn eq(self, rhs: Self) -> bool64x2
[src]
Compare if equal
pub fn ne(self, rhs: Self) -> bool64x2
[src]
Compare if not equal
pub fn lt(self, rhs: Self) -> bool64x2
[src]
Compare if less than
pub fn le(self, rhs: Self) -> bool64x2
[src]
Compare if less than or equal
pub fn gt(self, rhs: Self) -> bool64x2
[src]
Compare if greater than
pub fn ge(self, rhs: Self) -> bool64x2
[src]
Compare if greater than or equal
pub fn max(self, rhs: Self) -> Self
[src]
Get max values by lane
pub fn min(self, rhs: Self) -> Self
[src]
Get min values by lane
impl f64x2
[src]
pub fn sqrt(self) -> Self
[src]
Get square root
pub fn approx_rsqrt(self) -> Self
[src]
Get reciprocal of square root
pub fn approx_reciprocal(self) -> Self
[src]
Get reciprocal
impl f64x2
[src]
impl f64x2
[src]
impl f64x2
[src]
Trait Implementations
impl Add<f64x2> for f64x2
[src]
Add trait (+) The addittion wraps over if it is over the type limits
type Output = Self
The resulting type after applying the +
operator.
fn add(self, rhs: Self) -> Self
[src]
impl Clone for f64x2
[src]
impl Copy for f64x2
[src]
impl Debug for f64x2
[src]
impl Div<f64x2> for f64x2
[src]
Div trait (/)
type Output = Self
The resulting type after applying the /
operator.
fn div(self, rhs: Self) -> Self
[src]
impl From<f32x2> for f64x2
[src]
impl From<f64x2> for i64x2
[src]
impl From<f64x2> for u64x2
[src]
impl From<f64x2> for f32x2
[src]
impl From<i64x2> for f64x2
[src]
impl From<u64x2> for f64x2
[src]
impl FromCast<f32x2> for f64x2
[src]
impl FromCast<f64x2> for i64x2
[src]
impl FromCast<f64x2> for u64x2
[src]
impl FromCast<f64x2> for f32x2
[src]
impl FromCast<i64x2> for f64x2
[src]
impl FromCast<u64x2> for f64x2
[src]
impl Mul<f64x2> for f64x2
[src]
Mul trait (*)
type Output = Self
The resulting type after applying the *
operator.
fn mul(self, rhs: Self) -> Self
[src]
impl Sub<f64x2> for f64x2
[src]
Sub trait (-)
Auto Trait Implementations
impl RefUnwindSafe for f64x2
impl Send for f64x2
impl Sync for f64x2
impl Unpin for f64x2
impl UnwindSafe for f64x2
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,