pub struct SimdF64Ops;Expand description
SIMD-optimized vector operations for f64 slices
Implementations§
Source§impl SimdF64Ops
impl SimdF64Ops
Sourcepub fn dot_product(a: &[f64], b: &[f64]) -> f64
pub fn dot_product(a: &[f64], b: &[f64]) -> f64
Compute dot product of two f64 slices using optimized chunked processing
Sourcepub fn matrix_vector_multiply(
matrix: &[f64],
vector: &[f64],
result: &mut [f64],
rows: usize,
cols: usize,
)
pub fn matrix_vector_multiply( matrix: &[f64], vector: &[f64], result: &mut [f64], rows: usize, cols: usize, )
Matrix-vector multiplication using SIMD
Sourcepub fn add_vectors(a: &[f64], b: &[f64], result: &mut [f64])
pub fn add_vectors(a: &[f64], b: &[f64], result: &mut [f64])
Add two f64 vectors using optimized chunked processing
Auto Trait Implementations§
impl Freeze for SimdF64Ops
impl RefUnwindSafe for SimdF64Ops
impl Send for SimdF64Ops
impl Sync for SimdF64Ops
impl Unpin for SimdF64Ops
impl UnwindSafe for SimdF64Ops
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more