pub struct AdvancedSimdOps { /* private fields */ }Expand description
Advanced SIMD operations for discriminant analysis
Implementations§
Source§impl AdvancedSimdOps
impl AdvancedSimdOps
pub fn new() -> Self
pub fn with_config(config: SimdConfig) -> Self
Sourcepub fn simd_eigenvalues_2x2(
&self,
matrices: &Array2<Float>,
) -> Result<Array1<Float>>
pub fn simd_eigenvalues_2x2( &self, matrices: &Array2<Float>, ) -> Result<Array1<Float>>
SIMD-accelerated eigenvalue computation approximation for 2x2 matrices
Sourcepub fn simd_batch_inverse_2x2(
&self,
matrices: &Array2<Float>,
) -> Result<Array2<Float>>
pub fn simd_batch_inverse_2x2( &self, matrices: &Array2<Float>, ) -> Result<Array2<Float>>
SIMD-accelerated batch matrix inversion for small matrices
Sourcepub fn simd_softmax(&self, x: &Array1<Float>) -> Result<Array1<Float>>
pub fn simd_softmax(&self, x: &Array1<Float>) -> Result<Array1<Float>>
SIMD-accelerated softmax computation
Sourcepub fn simd_log_determinant_batch(
&self,
matrices: &Array2<Float>,
size: usize,
) -> Result<Array1<Float>>
pub fn simd_log_determinant_batch( &self, matrices: &Array2<Float>, size: usize, ) -> Result<Array1<Float>>
SIMD-accelerated log-determinant computation for batch of matrices
Sourcepub fn simd_batch_quadratic_form(
&self,
vectors: &Array2<Float>,
matrix: &Array2<Float>,
) -> Result<Array1<Float>>
pub fn simd_batch_quadratic_form( &self, vectors: &Array2<Float>, matrix: &Array2<Float>, ) -> Result<Array1<Float>>
SIMD-accelerated quadratic form computation: x^T A x for multiple vectors
Sourcepub fn simd_pairwise_distances(
&self,
x: &Array2<Float>,
y: &Array2<Float>,
) -> Result<Array2<Float>>
pub fn simd_pairwise_distances( &self, x: &Array2<Float>, y: &Array2<Float>, ) -> Result<Array2<Float>>
SIMD-accelerated distance matrix computation
Sourcepub fn simd_cross_covariance(
&self,
x: &Array2<Float>,
y: &Array2<Float>,
) -> Result<Array2<Float>>
pub fn simd_cross_covariance( &self, x: &Array2<Float>, y: &Array2<Float>, ) -> Result<Array2<Float>>
SIMD-accelerated cross-covariance computation
Sourcepub fn simd_standardize(&self, data: &Array2<Float>) -> Result<Array2<Float>>
pub fn simd_standardize(&self, data: &Array2<Float>) -> Result<Array2<Float>>
SIMD-accelerated feature scaling (standardization)
Sourcepub fn simd_log_sum_exp(&self, x: &Array1<Float>) -> Result<Float>
pub fn simd_log_sum_exp(&self, x: &Array1<Float>) -> Result<Float>
SIMD-accelerated log-sum-exp computation for numerical stability
Sourcepub fn benchmark_simd_vs_scalar(&self, size: usize) -> SimdBenchmarkResults
pub fn benchmark_simd_vs_scalar(&self, size: usize) -> SimdBenchmarkResults
Performance profiling for SIMD operations
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AdvancedSimdOps
impl RefUnwindSafe for AdvancedSimdOps
impl Send for AdvancedSimdOps
impl Sync for AdvancedSimdOps
impl Unpin for AdvancedSimdOps
impl UnwindSafe for AdvancedSimdOps
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