pub trait InnerProduct {
type Elem: Scalar;
// Required method
fn inner<S>(&self, rhs: &ArrayBase<S, Ix1>) -> Self::Elem
where S: Data<Elem = Self::Elem>;
}
Expand description
Inner Product
Differenct from Dot
trait, this take complex conjugate of self
elements
Required Associated Types§
Required Methods§
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.