AC-Vector-2.3.2: Efficient geometric vectors and transformations.

Safe HaskellNone
LanguageHaskell98

Data.Vector.Transform.T1

Description

1-dimensional linear transformations.

Synopsis

Documentation

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

Constructors

Transform1 

Fields

transformP1 :: Transform1 -> Vector1 -> Vector1 #

Apply a 1D transformation to a 1D point, yielding a new 1D point.