Trait alga::linear::Translation [−][src]
Subgroups of the n-dimensional translation group T(n)
.
Required methods
fn to_vector(&self) -> E::Coordinates
[src]
Converts this translation to a vector.
fn from_vector(v: E::Coordinates) -> Option<Self>
[src]
Attempts to convert a vector to this translation. Returns None
if the translation
represented by v
is not part of the translation subgroup represented by Self
.
Provided methods
fn powf(&self, n: E::RealField) -> Option<Self>
[src]
Raises the translation to a power. The result must be equivalent to
self.to_superset() * n
. Returns None
if the result is not representable by Self
.
fn translation_between(a: &E, b: &E) -> Option<Self>
[src]
The translation needed to make a
coincide with b
, i.e., b = a * translation_to(a, b)
.