Trait alga::linear::EuclideanSpace [] [src]

pub trait EuclideanSpace: AffineSpace<Translation=Self::Vector> {
    type Vector: FiniteDimInnerSpace<Real=Self::Real>;
    type Real: Real;
    fn distance_squared(&self, b: &Self) -> Self::Real { ... }
    fn distance(&self, b: &Self) -> Self::Real { ... }
}

A finite-dimensional affine space based on the field of reals.

Associated Types

The underlying finite vector space.

The underlying reals.

Provided Methods

The distance between two points.

The distance between two points.

Implementors