pub trait ComplexProductswhere
Self: Sized,{
// Required methods
fn dot(a: &[Self], b: &[Self]) -> Option<ComplexProduct>;
fn vdot(a: &[Self], b: &[Self]) -> Option<ComplexProduct>;
}Expand description
ComplexProducts provides trait methods for computing products between
complex number vectors. This includes standard and Hermitian dot products.
Required Methods§
Sourcefn dot(a: &[Self], b: &[Self]) -> Option<ComplexProduct>
fn dot(a: &[Self], b: &[Self]) -> Option<ComplexProduct>
Computes the dot product between two complex number vectors.
Sourcefn vdot(a: &[Self], b: &[Self]) -> Option<ComplexProduct>
fn vdot(a: &[Self], b: &[Self]) -> Option<ComplexProduct>
Computes the Hermitian dot product (conjugate dot product) between two complex number vectors.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.