Trait alga::linear::Transformation [−][src]
A general transformation acting on an euclidean space. It may not be inversible.
Required methods
fn transform_point(&self, pt: &E) -> E
[src]
Applies this group’s action on a point from the euclidean space.
fn transform_vector(&self, v: &E::Coordinates) -> E::Coordinates
[src]
Applies this group’s action on a vector from the euclidean space.
If v
is a vector and a, b
two point such that v = a - b
, the action ∘
on a vector
is defined as self ∘ v = (self × a) - (self × b)
.
Implementors
impl<E: EuclideanSpace> Transformation<E> for Id
[src]
fn transform_point(&self, pt: &E) -> E
[src]
fn transform_vector(&self, v: &E::Coordinates) -> E::Coordinates
[src]
impl<R, E> Transformation<E> for R where
R: RealField,
E: EuclideanSpace<RealField = R>,
E::Coordinates: ClosedMul<R> + ClosedDiv<R> + ClosedNeg,
[src]
R: RealField,
E: EuclideanSpace<RealField = R>,
E::Coordinates: ClosedMul<R> + ClosedDiv<R> + ClosedNeg,