pub trait Transform<T> {
fn identity() -> Self;
fn inv(self) -> Self;
fn apply(&self, pos: T) -> T;
fn deriv(&self, pos: T, dir: T) -> T;
fn chain(self, other: Self) -> Self;
}
Expand description
General tansformation trait.
It’s assumed that transfomation is a group.
Required Methods
Find transformation directional derivative at specified point.