Convinience module providing all transform functionallity in one place.
Note that the transform constructors and fields are not exported from here, since the names clash. However, Data.Vector.Transform.Fancy provides methods for constructing transforms generically, so that shouldn't be an issue.
- module Data.Vector.Transform.Fancy
- data Transform1
- data Transform2
- data Transform3
- data Transform4
Transform classes
module Data.Vector.Transform.Fancy
Transformation types
1-dimensional transforms
data Transform1
The type of 1D linear transformations. Essentially, this is applying a linear function to a number.
Note the Monoid
instance, which gives you access to the identity transform (mempty
) and the ability to combine a series of transforms into a single transform (mappend
).
2-dimensional transforms
data Transform2
The type of 2D linear transformations.
Note the Monoid
instance, which gives you access to the identity transform (mempty
) and the ability to combine a series of transforms into a single transform (mappend
).
3-dimensional transforms
data Transform3
The type of 3D linear transformations.
Note the Monoid
instance, which gives you access to the identity transform (mempty
) and the ability to combine a series of transforms into a single transform (mappend
).
4-dimensional transforms
data Transform4
The type of 4D linear transformations.
Note the Monoid
instance, which gives you access to the identity transform (mempty
) and the ability to combine a series of transforms into a single transform (mappend
).