[][src]Trait alga::linear::InnerSpace

pub trait InnerSpace: NormedSpace {
    fn inner_product(&self, other: &Self) -> Self::ComplexField;

    fn angle(&self, other: &Self) -> Self::RealField { ... }
}

A vector space equipped with an inner product.

It must be a normed space as well and the norm must agree with the inner product. The inner product must be symmetric, linear in its first argument, and positive definite.

Required methods

fn inner_product(&self, other: &Self) -> Self::ComplexField

Computes the inner product of self with other.

Loading content...

Provided methods

fn angle(&self, other: &Self) -> Self::RealField

Measures the angle between two vectors.

Loading content...

Implementors

Loading content...