LinearMap

Trait LinearMap 

Source
pub trait LinearMap {
    type Source;
    type Dest;
}
Expand description

A linear transform from one space (or basis) to another.

This is a tag trait with no functionality in itself. It is used to statically ensure that only compatible maps can be composed, and that only compatible vectors can be transformed.

Required Associated Types§

Source

type Source

The source space, or domain, of Self.

Source

type Dest

The destination space, or range, of Self.

Implementations on Foreign Types§

Source§

impl LinearMap for ()

Dummy LinearMap to help with generic code.

Implementors§

Source§

impl<S> LinearMap for RealToProj<S>

Source§

impl<const DIM: usize, S, D> LinearMap for RealToReal<DIM, S, D>

Source§

type Source = Real<DIM, S>

Source§

type Dest = Real<DIM, D>