#[repr(transparent)]pub struct f32x16(pub __m512);Expand description
Similar to core::simd.
Tuple Fields§
§0: __m512Implementations§
Source§impl f32x16
impl f32x16
pub fn from_slice(slice: &[f32]) -> Self
pub fn from_array(arr: [f32; 16]) -> Self
pub fn to_array(&self) -> [f32; 16]
pub fn load(ptr: *const f32) -> Self
pub fn splat(val: f32) -> Self
pub fn sqrt(&self) -> Self
pub fn exp(&self) -> Self
pub fn erfc(self) -> Self
pub fn max(self, rhs: Self) -> Self
pub fn min(self, rhs: Self) -> Self
Sourcepub fn replace(self, index: usize, value: f32) -> Self
pub fn replace(self, index: usize, value: f32) -> Self
todo: This doesn’t match the core::simd API. What’s the equivalent there? todo: This is potentially a slow approach compared to using intrinsics
pub fn powi(self, n: i32) -> Self
Trait Implementations§
Source§impl AddAssign<f32x16> for Vec3x16
impl AddAssign<f32x16> for Vec3x16
Source§fn add_assign(&mut self, rhs: f32x16)
fn add_assign(&mut self, rhs: f32x16)
Performs the
+= operation. Read moreSource§impl AddAssign<f32x16> for Vec4x16
impl AddAssign<f32x16> for Vec4x16
Source§fn add_assign(&mut self, rhs: f32x16)
fn add_assign(&mut self, rhs: f32x16)
Performs the
+= operation. Read moreSource§impl AddAssign for f32x16
impl AddAssign for f32x16
Source§fn add_assign(&mut self, rhs: Self)
fn add_assign(&mut self, rhs: Self)
Performs the
+= operation. Read moreSource§impl Div<f32x16> for Quaternionx16
impl Div<f32x16> for Quaternionx16
Source§impl DivAssign<f32x16> for Quaternionx16
impl DivAssign<f32x16> for Quaternionx16
Source§fn div_assign(&mut self, rhs: f32x16)
fn div_assign(&mut self, rhs: f32x16)
Performs the
/= operation. Read moreSource§impl DivAssign<f32x16> for Vec3x16
impl DivAssign<f32x16> for Vec3x16
Source§fn div_assign(&mut self, rhs: f32x16)
fn div_assign(&mut self, rhs: f32x16)
Performs the
/= operation. Read moreSource§impl DivAssign<f32x16> for Vec4x16
impl DivAssign<f32x16> for Vec4x16
Source§fn div_assign(&mut self, rhs: f32x16)
fn div_assign(&mut self, rhs: f32x16)
Performs the
/= operation. Read moreSource§impl DivAssign for f32x16
impl DivAssign for f32x16
Source§fn div_assign(&mut self, rhs: Self)
fn div_assign(&mut self, rhs: Self)
Performs the
/= operation. Read moreSource§impl Mul<f32x16> for Quaternionx16
impl Mul<f32x16> for Quaternionx16
Source§impl MulAssign<f32x16> for Quaternionx16
impl MulAssign<f32x16> for Quaternionx16
Source§fn mul_assign(&mut self, rhs: f32x16)
fn mul_assign(&mut self, rhs: f32x16)
Performs the
*= operation. Read moreSource§impl MulAssign<f32x16> for Vec3x16
impl MulAssign<f32x16> for Vec3x16
Source§fn mul_assign(&mut self, rhs: f32x16)
fn mul_assign(&mut self, rhs: f32x16)
Performs the
*= operation. Read moreSource§impl MulAssign<f32x16> for Vec4x16
impl MulAssign<f32x16> for Vec4x16
Source§fn mul_assign(&mut self, rhs: f32x16)
fn mul_assign(&mut self, rhs: f32x16)
Performs the
*= operation. Read moreSource§impl MulAssign for f32x16
impl MulAssign for f32x16
Source§fn mul_assign(&mut self, rhs: Self)
fn mul_assign(&mut self, rhs: Self)
Performs the
*= operation. Read moreSource§impl SubAssign<f32x16> for Vec3x16
impl SubAssign<f32x16> for Vec3x16
Source§fn sub_assign(&mut self, rhs: f32x16)
fn sub_assign(&mut self, rhs: f32x16)
Performs the
-= operation. Read moreSource§impl SubAssign<f32x16> for Vec4x16
impl SubAssign<f32x16> for Vec4x16
Source§fn sub_assign(&mut self, rhs: f32x16)
fn sub_assign(&mut self, rhs: f32x16)
Performs the
-= operation. Read moreSource§impl SubAssign for f32x16
impl SubAssign for f32x16
Source§fn sub_assign(&mut self, rhs: Self)
fn sub_assign(&mut self, rhs: Self)
Performs the
-= operation. Read moreimpl Copy for f32x16
Auto Trait Implementations§
impl Freeze for f32x16
impl RefUnwindSafe for f32x16
impl Send for f32x16
impl Sync for f32x16
impl Unpin for f32x16
impl UnsafeUnpin for f32x16
impl UnwindSafe for f32x16
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