pub struct F64x2(/* private fields */);Available on crate feature
simd and (x86 or x86-64) only.Expand description
SIMD vector of 2 f64 elements
Trait Implementations§
impl Copy for F64x2
impl StructuralPartialEq for F64x2
Source§impl Vector<f64, 2> for F64x2
impl Vector<f64, 2> for F64x2
Source§impl VectorMask<f64, 2> for F64x2
impl VectorMask<f64, 2> for F64x2
Source§impl VectorTranscendental<f64, 2> for F64x2
impl VectorTranscendental<f64, 2> for F64x2
Auto Trait Implementations§
impl Freeze for F64x2
impl RefUnwindSafe for F64x2
impl Send for F64x2
impl Sync for F64x2
impl Unpin for F64x2
impl UnsafeUnpin for F64x2
impl UnwindSafe for F64x2
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T, const N: usize, V> VectorReduce<T, N> for V
impl<T, const N: usize, V> VectorReduce<T, N> for V
Source§fn horizontal_sum(&self) -> T
fn horizontal_sum(&self) -> T
Sum of all lanes.
Source§fn horizontal_product(&self) -> T
fn horizontal_product(&self) -> T
Product of all lanes.
Source§fn horizontal_min(&self) -> T
fn horizontal_min(&self) -> T
Minimum value across all lanes.
Source§fn horizontal_max(&self) -> T
fn horizontal_max(&self) -> T
Maximum value across all lanes.
Source§fn horizontal_mean(&self) -> T
fn horizontal_mean(&self) -> T
Arithmetic mean of all lanes.
Source§impl<T, const N: usize, V> VectorScalarOps<T, N> for V
impl<T, const N: usize, V> VectorScalarOps<T, N> for V
Source§fn add_scalar(&self, scalar: T) -> Self
fn add_scalar(&self, scalar: T) -> Self
Add a scalar to every lane.
Source§fn sub_scalar(&self, scalar: T) -> Self
fn sub_scalar(&self, scalar: T) -> Self
Subtract a scalar from every lane.
Source§fn mul_scalar(&self, scalar: T) -> Self
fn mul_scalar(&self, scalar: T) -> Self
Multiply every lane by a scalar.
Source§fn div_scalar(&self, scalar: T) -> Self
fn div_scalar(&self, scalar: T) -> Self
Divide every lane by a scalar.
Source§fn rem_scalar(&self, scalar: T) -> Self
fn rem_scalar(&self, scalar: T) -> Self
Compute the remainder of every lane divided by a scalar.