Trait InnerProductSpace

Source
pub trait InnerProductSpace: LinearSpace {
    // Required method
    fn inner_product(&self, x: &Self::E, other: &Self::E) -> Self::F;
}
Expand description

Inner product space

Required Methods§

Source

fn inner_product(&self, x: &Self::E, other: &Self::E) -> Self::F

Inner product

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.

Implementors§

Source§

impl<C: Communicator, Item: RlstScalar + Equivalence> InnerProductSpace for DistributedArrayVectorSpace<'_, C, Item>

Source§

impl<Item: RlstScalar> InnerProductSpace for ArrayVectorSpace<Item>