diff --git a/src/adaptors/transform.rs b/src/adaptors/transform.rs index 5298599d..01564d3a 100644 --- a/src/adaptors/transform.rs +++ b/src/adaptors/transform.rs @@ -25,6 +25,17 @@ impl Transform { Transform { submat: mat, subtrans: trans } } } +impl Transform +{ + #[inline] + pub fn submat(&self) -> M + { copy self.submat } + + #[inline] + pub fn subtrans(&self) -> V + { copy self.subtrans } +} + impl Dim for Transform { #[inline]