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

Safe HaskellSafe-Infered

Data.Vector.Transform.T1

Description

1-dimensional linear transformations.

Synopsis

Documentation

data Transform1 Source

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

t1_XX :: !Scalar
 
t1_1X :: !Scalar
 

transformP1 :: Transform1 -> Vector1 -> Vector1Source

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