Skip to main content

SimdComplex64

Trait SimdComplex64 

Source
pub trait SimdComplex64 {
    // Required methods
    fn simd_add(self, other: Complex64) -> Complex64;
    fn simd_sub(self, other: Complex64) -> Complex64;
    fn simd_mul(self, other: Complex64) -> Complex64;
    fn simd_scalar_mul(self, scalar: Complex64) -> Complex64;
    fn simd_dot(a: &[Complex64], b: &[Complex64]) -> Complex64;
    fn simd_sum(slice: &[Complex64]) -> Complex64;
    fn simd_sum_array(a: &ArrayView1<'_, Complex64>) -> Complex64;
}
Expand description

Trait for SIMD-like batch operations on Complex64

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§