AC-Vector-Fancy-2.4.0: Fancy type-system stuff for AC-Vector

Data.Vector.Transform

Contents

Description

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.

Synopsis

Transform classes

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).