pub struct SimdStatistics;Expand description
Optimized statistical calculations using SIMD
Implementations§
Source§impl SimdStatistics
impl SimdStatistics
Sourcepub fn variance_simd(data: &[f64], mean: Option<f64>) -> f64
pub fn variance_simd(data: &[f64], mean: Option<f64>) -> f64
Optimized variance calculation using SIMD
Sourcepub fn std_dev_simd(data: &[f64], mean: Option<f64>) -> f64
pub fn std_dev_simd(data: &[f64], mean: Option<f64>) -> f64
Optimized standard deviation calculation
Sourcepub fn min_max_simd(data: &[f64]) -> (f64, f64)
pub fn min_max_simd(data: &[f64]) -> (f64, f64)
Optimized min/max finding using SIMD
Sourcepub fn quantile_simd(data: &[f64], q: f64) -> f64
pub fn quantile_simd(data: &[f64], q: f64) -> f64
Optimized quantile calculation using SIMD for sorting
Auto Trait Implementations§
impl Freeze for SimdStatistics
impl RefUnwindSafe for SimdStatistics
impl Send for SimdStatistics
impl Sync for SimdStatistics
impl Unpin for SimdStatistics
impl UnwindSafe for SimdStatistics
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