AffineTransformation#
- class named_arrays.transformations.AffineTransformation(transformation_linear, translation)#
Bases:
AbstractAffineTransformation,Generic[LinearTransformationT,TranslationT]A general affine transformation.
This is a composition of a linear transformation and a translation.
Attributes
A new transformation that reverses the effect of this transformation.
The shape of the transformation.
The linear component of this affine transformation.
The translation component of this affine transformation.
Methods
__init__(transformation_linear, translation)Inheritance Diagram

- Parameters:
transformation_linear (LinearTransformationT)
translation (TranslationT)
- property inverse#
A new transformation that reverses the effect of this transformation.
- transformation_linear: LinearTransformationT = <dataclasses._MISSING_TYPE object>#
The linear component of this affine transformation.
- translation: TranslationT = <dataclasses._MISSING_TYPE object>#
The translation component of this affine transformation.