pub trait InnerProductSpace<S: Field>: VectorSpace<S> + Dot<S> {
// Required methods
fn outer_product(self, other: Self) -> Self::LinearEndo;
fn orthogonal(self) -> Self
where S: AbsDiffEq<Epsilon = S>;
// Provided method
fn inner_product(self, other: Self) -> S { ... }
}Expand description
Bilinear form on a VectorSpace
Required Methods§
fn outer_product(self, other: Self) -> Self::LinearEndo
fn orthogonal(self) -> Selfwhere
S: AbsDiffEq<Epsilon = S>,
Provided Methods§
fn inner_product(self, other: Self) -> S
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.